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.001134/0.001134, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001334/0.001334, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.351/1.351, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001256/0.001256, allocations: 51.92 kB / 328 MB, free: 3.832 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08996/0.09123, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004948/0.09623, allocations: 3.478 MB / 378.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.09815, allocations: 0.9897 MB / 379.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004114/0.09858, allocations: 4 kB / 379.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004145/0.09904, allocations: 107.1 kB / 379.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006191/0.09967, allocations: 190.4 kB / 379.4 MB, free: 312 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.1001, allocations: 127.8 kB / 379.5 MB, free: 184 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1896/0.2897, allocations: 0.6295 MB / 380.2 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003385/0.2901, allocations: 199.9 kB / 380.4 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.2904, allocations: 238.6 kB / 380.6 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.2907, allocations: 278.9 kB / 380.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.085e-05/0.2908, allocations: 53.31 kB / 380.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.939e-05/0.2909, allocations: 53.75 kB / 381 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.291, allocations: 117.1 kB / 381.1 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.2912, allocations: 299 kB / 381.4 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009598/0.2922, allocations: 0.6453 MB / 382 MB, free: 9.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2922, allocations: 0 / 382 MB, free: 9.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.2922, allocations: 0 / 382 MB, free: 9.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.2922, allocations: 0 / 382 MB, free: 9.094 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.0016/0.2939, allocations: 0.8576 MB / 382.9 MB, free: 8.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.2939, allocations: 12.72 kB / 382.9 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.2941, allocations: 82.61 kB / 383 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.2942, allocations: 65.84 kB / 383 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006313/0.2948, allocations: 397.2 kB / 383.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.2949, allocations: 60.25 kB / 383.5 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.295, allocations: 33.17 kB / 383.5 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007435/0.2958, allocations: 473.3 kB / 384 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.2958, allocations: 0.7969 kB / 384 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.2958, allocations: 15.16 kB / 384 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.2959, allocations: 9.875 kB / 384 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006147/0.2965, allocations: 291.1 kB / 384.3 MB, free: 7.953 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.002096/0.2986, allocations: 1.303 MB / 385.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.2997, allocations: 441.2 kB / 386 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.3, allocations: 141.7 kB / 386.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.3001, allocations: 13.06 kB / 386.2 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3001, allocations: 41.84 kB / 386.2 MB, free: 6.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.3001, allocations: 0 / 386.2 MB, free: 6.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001233/0.3013, allocations: 0.6059 MB / 386.8 MB, free: 6.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.3015, allocations: 449.1 kB / 387.3 MB, free: 6.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000558/0.3021, allocations: 451.5 kB / 387.7 MB, free: 5.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.3021, allocations: 33.58 kB / 387.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.3023, allocations: 243.6 kB / 388 MB, free: 5.609 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.878e-05/0.3023, allocations: 114 kB / 388.1 MB, free: 5.523 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.3025, allocations: 76.09 kB / 388.1 MB, free: 5.477 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.3026, allocations: 356.7 kB / 388.5 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.3028, allocations: 106.6 kB / 388.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.3031, allocations: 253.8 kB / 388.8 MB, free: 4.914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/0.3036, allocations: 280.3 kB / 389.1 MB, free: 4.762 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3036, allocations: 2.906 kB / 389.1 MB, free: 4.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006718/0.3042, allocations: 421.4 kB / 389.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.3043, allocations: 32.06 kB / 389.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3043, allocations: 1.125 kB / 389.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/0.3045, allocations: 55.52 kB / 389.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.3048, allocations: 69.14 kB / 389.7 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.3068, allocations: 2.973 MB / 392.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.3072, allocations: 40.14 kB / 392.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.3073, allocations: 13 kB / 392.7 MB, free: 1.547 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.0002015/0.3075, allocations: 167.8 kB / 392.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.762e-05/0.3076, allocations: 58.11 kB / 392.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.3077, allocations: 54.31 kB / 393 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3077, allocations: 3.781 kB / 393 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3077, allocations: 1.203 kB / 393 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005989/0.3083, allocations: 0.6495 MB / 393.6 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.3096, allocations: 0.9076 MB / 394.6 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3096, allocations: 4 kB / 394.6 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.31, allocations: 68.72 kB / 394.6 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.31, allocations: 1.188 kB / 394.6 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.31, allocations: 7.25 kB / 394.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.31, allocations: 5.703 kB / 394.6 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.31, allocations: 0 / 394.6 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000904/0.3109, allocations: 0.5237 MB / 395.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.3112, allocations: 166.3 kB / 395.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.3112, allocations: 11.59 kB / 395.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.3115, allocations: 14.97 kB / 395.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.3116, allocations: 19.27 kB / 395.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.3116, allocations: 6.719 kB / 395.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004046/0.312, allocations: 325.7 kB / 395.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.312, allocations: 1.406 kB / 395.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004792/0.3125, allocations: 132.1 kB / 395.8 MB, free: 15.52 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.00118/0.3137, allocations: 1.074 MB / 396.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009137/0.3146, allocations: 0.5671 MB / 397.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3147, allocations: 1.406 kB / 397.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.3149, allocations: 131.6 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.0006471/0.3156, allocations: 128.5 kB / 397.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005884/0.3214, allocations: 4.257 MB / 402 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.3219, allocations: 0.8208 MB / 402.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000274/0.3222, allocations: 63.78 kB / 402.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.3224, allocations: 165 kB / 403 MB, free: 10.95 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3224, allocations: 0 / 403 MB, free: 10.95 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04194/0.3643, allocations: 12.76 MB / 415.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.14, allocations: 11.89 kB / 415.8 MB, free: 4.621 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