Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 113.2 kB / 17.73 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 188.2 kB / 18.67 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09054/0.09191, allocations: 46.61 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005268/0.09722, allocations: 3.478 MB / 378.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.09928, allocations: 0.9897 MB / 379.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/0.09977, allocations: 4 kB / 379.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004575/0.1003, allocations: 115 kB / 379.2 MB, free: 488 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006418/0.101, allocations: 186.4 kB / 379.4 MB, free: 300 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.1013, allocations: 119.8 kB / 379.5 MB, free: 180 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1963/0.2976, allocations: 0.6378 MB / 380.2 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003653/0.298, allocations: 198.7 kB / 380.4 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.2985, allocations: 242.2 kB / 380.6 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.2988, allocations: 274.1 kB / 380.9 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.2989, allocations: 55.91 kB / 380.9 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.299, allocations: 54.16 kB / 381 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.2992, allocations: 119.5 kB / 381.1 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003025/0.2995, allocations: 292.5 kB / 381.4 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.3005, allocations: 0.6458 MB / 382 MB, free: 9.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.3005, allocations: 3.5 kB / 382 MB, free: 9.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3005, allocations: 3.594 kB / 382 MB, free: 9.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3005, allocations: 0.5 kB / 382 MB, free: 9.09 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001552/0.3021, allocations: 0.8574 MB / 382.9 MB, free: 8.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3021, allocations: 10.03 kB / 382.9 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.3023, allocations: 81.84 kB / 383 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.3024, allocations: 65.47 kB / 383 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.303, allocations: 400.2 kB / 383.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.607e-05/0.3031, allocations: 59.53 kB / 383.5 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.3031, allocations: 33.38 kB / 383.5 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006761/0.3038, allocations: 473.6 kB / 384 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.3038, allocations: 0.75 kB / 384 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.3039, allocations: 18.03 kB / 384 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.3039, allocations: 9.469 kB / 384 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005502/0.3045, allocations: 281.3 kB / 384.3 MB, free: 7.957 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.3064, allocations: 1.31 MB / 385.6 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.3075, allocations: 432.5 kB / 386 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.3078, allocations: 142.8 kB / 386.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.3078, allocations: 11.94 kB / 386.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.3079, allocations: 46.78 kB / 386.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.3079, allocations: 0 / 386.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001136/0.309, allocations: 0.6069 MB / 386.8 MB, free: 6.586 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.3091, allocations: 443.9 kB / 387.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/0.3097, allocations: 449.1 kB / 387.7 MB, free: 5.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.3097, allocations: 41.25 kB / 387.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.3099, allocations: 243 kB / 388 MB, free: 5.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.165e-05/0.31, allocations: 118 kB / 388.1 MB, free: 5.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.3101, allocations: 73.42 kB / 388.2 MB, free: 5.469 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.3102, allocations: 353.2 kB / 388.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.3105, allocations: 106 kB / 388.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.3108, allocations: 257.5 kB / 388.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.3113, allocations: 277.6 kB / 389.1 MB, free: 4.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3113, allocations: 1.094 kB / 389.1 MB, free: 4.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007123/0.3121, allocations: 421.8 kB / 389.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/0.3121, allocations: 31.78 kB / 389.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3121, allocations: 1.031 kB / 389.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/0.3123, allocations: 58.66 kB / 389.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.3127, allocations: 67.58 kB / 389.7 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.3146, allocations: 2.971 MB / 392.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/0.3151, allocations: 43.34 kB / 392.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.3151, allocations: 8.734 kB / 392.7 MB, free: 1.543 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001903/0.3153, allocations: 174.4 kB / 392.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.3154, allocations: 53.11 kB / 392.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.382e-05/0.3155, allocations: 58.52 kB / 393 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.3155, allocations: 4.516 kB / 393 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3155, allocations: 96 / 393 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005816/0.3161, allocations: 0.6472 MB / 393.6 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.3175, allocations: 0.9101 MB / 394.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3175, allocations: 1.469 kB / 394.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.3178, allocations: 72.5 kB / 394.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.3178, allocations: 1.5 kB / 394.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.3178, allocations: 8.016 kB / 394.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3179, allocations: 2.156 kB / 394.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3179, allocations: 3.938 kB / 394.6 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.3187, allocations: 0.5214 MB / 395.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.3189, allocations: 169.2 kB / 395.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.319, allocations: 8.609 kB / 395.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.3193, allocations: 20.98 kB / 395.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.3193, allocations: 19.44 kB / 395.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3194, allocations: 6.047 kB / 395.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000361/0.3197, allocations: 323.5 kB / 395.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3197, allocations: 0 / 395.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004615/0.3202, allocations: 132.4 kB / 395.8 MB, free: 15.51 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/0.3213, allocations: 1.075 MB / 396.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.3224, allocations: 0.5651 MB / 397.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3224, allocations: 1.781 kB / 397.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.3227, allocations: 130.5 kB / 397.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007555/0.3235, allocations: 131.1 kB / 397.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005898/0.3294, allocations: 4.248 MB / 402 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.3298, allocations: 0.822 MB / 402.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003044/0.3302, allocations: 59.28 kB / 402.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.3304, allocations: 161.1 kB / 403 MB, free: 10.96 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3304, allocations: 4 kB / 403 MB, free: 10.95 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03986/0.3703, allocations: 12.75 MB / 415.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.11, allocations: 15.94 kB / 415.8 MB, free: 4.641 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches