Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",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.001268/0.001268, allocations: 105.3 kB / 17.73 MB, free: 5.32 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.001175/0.001175, allocations: 192.2 kB / 18.67 MB, free: 4.387 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.366/1.366, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001287/0.001287, allocations: 47.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07936/0.08065, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00395/0.08465, allocations: 2.463 MB / 377.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.08608, allocations: 0.6473 MB / 377.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.08633, allocations: 4 kB / 377.7 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.0866, allocations: 35.64 kB / 377.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.08685, allocations: 63.36 kB / 377.8 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.08718, allocations: 63.91 kB / 377.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.08755, allocations: 266.8 kB / 378.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.0878, allocations: 107.4 kB / 378.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.08797, allocations: 99.64 kB / 378.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.08815, allocations: 111.5 kB / 378.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.0882, allocations: 20 kB / 378.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.791e-05/0.08831, allocations: 24 kB / 378.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.08837, allocations: 55.81 kB / 378.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.08853, allocations: 119.5 kB / 378.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003922/0.08893, allocations: 254.9 kB / 378.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.08894, allocations: 0 / 378.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.751e-06/0.08895, allocations: 3.984 kB / 378.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.08897, allocations: 3.938 kB / 378.9 MB, free: 0.7344 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001116/0.09009, allocations: 0.5456 MB / 379.5 MB, free: 144 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.09015, allocations: 8.031 kB / 379.5 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.09026, allocations: 63.11 kB / 379.6 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.09043, allocations: 28.8 kB / 379.6 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1705/0.2609, allocations: 228 kB / 379.8 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.261, allocations: 16.31 kB / 379.8 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.2611, allocations: 24.19 kB / 379.9 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000597/0.2617, allocations: 230.9 kB / 380.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.2617, allocations: 1.969 kB / 380.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.2618, allocations: 14.3 kB / 380.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2618, allocations: 8.625 kB / 380.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.2622, allocations: 162.3 kB / 380.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.2634, allocations: 0.8158 MB / 381.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.2638, allocations: 163.6 kB / 381.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.264, allocations: 81.42 kB / 381.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.264, allocations: 1.375 kB / 381.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.264, allocations: 38.94 kB / 381.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.2641, allocations: 0 / 381.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008369/0.2649, allocations: 336.8 kB / 381.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.2649, allocations: 56.56 kB / 381.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.2651, allocations: 183.9 kB / 381.9 MB, free: 12.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.2651, allocations: 30.33 kB / 382 MB, free: 11.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.2652, allocations: 149.6 kB / 382.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.2652, allocations: 55.44 kB / 382.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.2653, allocations: 42.64 kB / 382.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.2654, allocations: 327.6 kB / 382.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.2656, allocations: 61.06 kB / 382.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.2658, allocations: 89.23 kB / 382.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.2661, allocations: 151.6 kB / 382.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2661, allocations: 1.062 kB / 382.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000529/0.2666, allocations: 219.3 kB / 383 MB, free: 11.26 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.2667, allocations: 6.547 kB / 383 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2667, allocations: 1.219 kB / 383 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.2669, allocations: 33.8 kB / 383.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.2671, allocations: 40.09 kB / 383.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008497/0.2679, allocations: 1.475 MB / 384.6 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.2681, allocations: 29.53 kB / 384.6 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.2681, allocations: 5.5 kB / 384.6 MB, free: 9.766 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.345e-05/0.2682, allocations: 134.8 kB / 384.7 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.2683, allocations: 22.2 kB / 384.8 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.2683, allocations: 21.94 kB / 384.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2683, allocations: 1.75 kB / 384.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2683, allocations: 0.9375 kB / 384.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2684, allocations: 5.047 kB / 384.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006489/0.269, allocations: 0.5166 MB / 385.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.269, allocations: 1.344 kB / 385.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.2692, allocations: 32.67 kB / 385.3 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.2693, allocations: 36.23 kB / 385.4 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.2693, allocations: 5.438 kB / 385.4 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007119/0.27, allocations: 1.465 MB / 386.8 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.27, allocations: 1 kB / 386.8 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.2707, allocations: 355.5 kB / 387.2 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.2707, allocations: 100.2 kB / 387.3 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.2708, allocations: 12.47 kB / 387.3 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.271, allocations: 24.33 kB / 387.3 MB, free: 7.391 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.271, allocations: 14.12 kB / 387.3 MB, free: 7.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.2711, allocations: 7.125 kB / 387.4 MB, free: 7.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.443e-05/0.2711, allocations: 133 kB / 387.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2712, allocations: 0 / 387.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.2715, allocations: 63.36 kB / 387.5 MB, free: 7.277 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007276/0.2722, allocations: 0.8872 MB / 388.4 MB, free: 6.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004838/0.2727, allocations: 255.1 kB / 388.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2727, allocations: 1.969 kB / 388.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.273, allocations: 202 kB / 388.9 MB, free: 6.219 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.2733, allocations: 30 kB / 388.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.2757, allocations: 2.216 MB / 391.1 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.2759, allocations: 0.7365 MB / 391.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.176e-05/0.276, allocations: 16.95 kB / 391.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.24e-05/0.276, allocations: 60.17 kB / 391.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.276, allocations: 1.125 kB / 391.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.3027, allocations: 4.533 MB / 396.5 MB, free: 3.004 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.533/9.835, allocations: 17.02 kB / 396.5 MB, free: 2.988 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches