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.001575/0.001575, 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.001732/0.001732, 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.382/1.382, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001271/0.001271, allocations: 51.92 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/0.08704, allocations: 46.61 MB / 374.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003931/0.09102, allocations: 2.474 MB / 377.1 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.0924, allocations: 0.6472 MB / 377.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.09266, allocations: 4 kB / 377.8 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.09284, allocations: 31.66 kB / 377.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.09306, allocations: 71.33 kB / 377.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.0934, allocations: 67.86 kB / 377.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003791/0.0938, allocations: 266.8 kB / 378.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.09404, allocations: 103.4 kB / 378.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.09428, allocations: 99.58 kB / 378.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.0945, allocations: 111.5 kB / 378.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.09456, allocations: 24 kB / 378.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.09468, allocations: 24 kB / 378.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.09475, allocations: 47.84 kB / 378.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.0949, allocations: 115.5 kB / 378.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.0953, allocations: 262.8 kB / 378.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.09532, allocations: 0 / 378.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.09533, allocations: 0 / 378.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.09534, allocations: 0 / 378.9 MB, free: 0.7539 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.001131/0.09648, allocations: 0.5495 MB / 379.5 MB, free: 160 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.09654, allocations: 8.031 kB / 379.5 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.576e-05/0.09664, allocations: 59.12 kB / 379.6 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.09679, allocations: 36.78 kB / 379.6 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1566/0.2534, allocations: 230 kB / 379.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.2534, allocations: 17.12 kB / 379.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/0.2535, allocations: 20.81 kB / 379.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.2541, allocations: 229.7 kB / 380.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.2541, allocations: 2.875 kB / 380.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.2541, allocations: 10.5 kB / 380.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.2541, allocations: 7.344 kB / 380.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.2546, allocations: 163.8 kB / 380.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.2559, allocations: 0.8177 MB / 381.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.2563, allocations: 159.4 kB / 381.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.2565, allocations: 81.14 kB / 381.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.2565, allocations: 4.5 kB / 381.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.2565, allocations: 35.92 kB / 381.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.2565, allocations: 0 / 381.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009098/0.2574, allocations: 341.3 kB / 381.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.2575, allocations: 56.47 kB / 381.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.2576, allocations: 182 kB / 381.9 MB, free: 11.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.2577, allocations: 27.39 kB / 382 MB, free: 11.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.2578, allocations: 147.4 kB / 382.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.2578, allocations: 62.95 kB / 382.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.993e-05/0.2579, allocations: 38.5 kB / 382.2 MB, free: 11.44 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.258, allocations: 328.3 kB / 382.5 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.2582, allocations: 55.33 kB / 382.6 MB, free: 11.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.2584, allocations: 97.34 kB / 382.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.2587, allocations: 147.4 kB / 382.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2587, allocations: 0.75 kB / 382.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005335/0.2593, allocations: 216.6 kB / 383 MB, free: 10.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.2593, allocations: 5.875 kB / 383 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.2593, allocations: 1.062 kB / 383 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.2595, allocations: 41.5 kB / 383.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.2597, allocations: 35.16 kB / 383.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.2609, allocations: 1.475 MB / 384.6 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.2611, allocations: 28.7 kB / 384.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.2611, allocations: 12.81 kB / 384.6 MB, free: 9.586 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 0.0001127/0.2612, allocations: 134.6 kB / 384.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.2613, allocations: 15.84 kB / 384.8 MB, free: 9.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.2613, allocations: 26.31 kB / 384.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2613, allocations: 5.5 kB / 384.8 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2613, allocations: 0 / 384.8 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2613, allocations: 1.531 kB / 384.8 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007588/0.2621, allocations: 0.5156 MB / 385.3 MB, free: 9.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2621, allocations: 5.156 kB / 385.3 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.2623, allocations: 24.16 kB / 385.3 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/0.2624, allocations: 40.55 kB / 385.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.2624, allocations: 6.453 kB / 385.4 MB, free: 9.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008856/0.2633, allocations: 1.462 MB / 386.8 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2633, allocations: 0 / 386.8 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006019/0.2639, allocations: 355.9 kB / 387.2 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.264, allocations: 100.4 kB / 387.3 MB, free: 7.297 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.2641, allocations: 10.56 kB / 387.3 MB, free: 7.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.2643, allocations: 26 kB / 387.3 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.2644, allocations: 18.5 kB / 387.3 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2644, allocations: 9.781 kB / 387.4 MB, free: 7.273 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.54e-05/0.2645, allocations: 124.8 kB / 387.5 MB, free: 7.188 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2645, allocations: 0 / 387.5 MB, free: 7.188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003379/0.2648, allocations: 62.8 kB / 387.5 MB, free: 7.172 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.0007917/0.2656, allocations: 0.888 MB / 388.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005445/0.2662, allocations: 260.9 kB / 388.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2662, allocations: 1.719 kB / 388.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.2665, allocations: 193.6 kB / 388.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.2668, allocations: 27.69 kB / 388.9 MB, free: 6.109 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.2698, allocations: 2.231 MB / 391.1 MB, free: 4.445 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.2701, allocations: 0.7329 MB / 391.9 MB, free: 3.746 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.225e-05/0.2702, allocations: 16.72 kB / 391.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/0.2702, allocations: 57.5 kB / 391.9 MB, free: 3.699 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2703, allocations: 0 / 391.9 MB, free: 3.699 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/0.3037, allocations: 4.531 MB / 396.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.529/9.832, allocations: 18.2 kB / 396.5 MB, free: 2.887 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