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.001091/0.001091, allocations: 110.6 kB / 17.73 MB, free: 5.328 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.001003/0.001003, allocations: 190.9 kB / 18.67 MB, free: 4.395 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.42/1.42, 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.001413/0.001413, allocations: 55.91 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08638/0.0878, allocations: 46.63 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003788/0.09164, allocations: 2.451 MB / 377.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.09293, allocations: 0.6473 MB / 377.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.09315, allocations: 8 kB / 377.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.09336, allocations: 35.64 kB / 377.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.09358, allocations: 67.36 kB / 377.8 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.09387, allocations: 63.84 kB / 377.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.09422, allocations: 262.8 kB / 378.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.09446, allocations: 119.5 kB / 378.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.09464, allocations: 95.64 kB / 378.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.09481, allocations: 107.5 kB / 378.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.09486, allocations: 24 kB / 378.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.988e-05/0.09496, allocations: 24 kB / 378.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.09501, allocations: 55.75 kB / 378.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.09514, allocations: 119.4 kB / 378.7 MB, free: 1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.09545, allocations: 251.2 kB / 378.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.09547, allocations: 3.984 kB / 378.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09547, allocations: 0 / 378.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.09549, allocations: 4 kB / 378.9 MB, free: 0.7461 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.0009675/0.09646, allocations: 0.5342 MB / 379.5 MB, free: 168 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.09651, allocations: 12.03 kB / 379.5 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.75e-05/0.09661, allocations: 63.03 kB / 379.6 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.09673, allocations: 28.66 kB / 379.6 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1672/0.2639, allocations: 224.4 kB / 379.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.264, allocations: 17.97 kB / 379.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/0.2641, allocations: 27.31 kB / 379.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.2647, allocations: 230.3 kB / 380.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.2648, allocations: 0.875 kB / 380.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.2648, allocations: 9.062 kB / 380.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.2648, allocations: 8.547 kB / 380.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.2653, allocations: 164.1 kB / 380.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.2669, allocations: 0.8204 MB / 381.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.2674, allocations: 168.2 kB / 381.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.2677, allocations: 78.02 kB / 381.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.2677, allocations: 2.75 kB / 381.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.2677, allocations: 35.91 kB / 381.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.2677, allocations: 0 / 381.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.00108/0.2688, allocations: 337.8 kB / 381.7 MB, free: 12.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.2689, allocations: 56.72 kB / 381.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.2691, allocations: 174.2 kB / 381.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.2691, allocations: 29.33 kB / 381.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.2692, allocations: 151.2 kB / 382.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.2693, allocations: 55.69 kB / 382.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.68e-05/0.2694, allocations: 39.48 kB / 382.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.995e-05/0.2695, allocations: 330.2 kB / 382.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.2697, allocations: 55.09 kB / 382.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.2699, allocations: 89.8 kB / 382.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.2703, allocations: 155.5 kB / 382.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2703, allocations: 0.5312 kB / 382.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006735/0.271, allocations: 214.8 kB / 383 MB, free: 11.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.2711, allocations: 6 kB / 383 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2711, allocations: 0.8125 kB / 383 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/0.2713, allocations: 37.95 kB / 383 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.2715, allocations: 39.11 kB / 383.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.2727, allocations: 1.467 MB / 384.5 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.2729, allocations: 31.52 kB / 384.6 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.273, allocations: 6.031 kB / 384.6 MB, free: 9.801 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.000133/0.2731, allocations: 143.5 kB / 384.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.2732, allocations: 19.88 kB / 384.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.055e-05/0.2733, allocations: 23.8 kB / 384.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2733, allocations: 1.406 kB / 384.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2733, allocations: 1.922 kB / 384.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2733, allocations: 0.6562 kB / 384.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009181/0.2742, allocations: 0.5207 MB / 385.3 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2742, allocations: 1.188 kB / 385.3 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.2744, allocations: 28.81 kB / 385.3 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001552/0.2746, allocations: 40.92 kB / 385.4 MB, free: 9.211 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.2746, allocations: 1.281 kB / 385.4 MB, free: 9.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.2757, allocations: 1.456 MB / 386.8 MB, free: 7.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2757, allocations: 4.5 kB / 386.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007655/0.2764, allocations: 355.8 kB / 387.2 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.875e-05/0.2765, allocations: 99.5 kB / 387.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.2766, allocations: 14.72 kB / 387.3 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.2769, allocations: 17.31 kB / 387.3 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.277, allocations: 21.94 kB / 387.3 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.277, allocations: 3.5 kB / 387.3 MB, free: 7.422 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.2771, allocations: 133.1 kB / 387.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2771, allocations: 0.875 kB / 387.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005166/0.2777, allocations: 70.34 kB / 387.5 MB, free: 7.305 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.0009611/0.2786, allocations: 0.879 MB / 388.4 MB, free: 6.555 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006441/0.2793, allocations: 261.5 kB / 388.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2793, allocations: 1.5 kB / 388.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.2796, allocations: 190.9 kB / 388.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.2802, allocations: 32.94 kB / 388.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.2837, allocations: 2.203 MB / 391.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.2839, allocations: 0.7409 MB / 391.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.284, allocations: 17.8 kB / 391.8 MB, free: 3.902 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.2841, allocations: 57.3 kB / 391.9 MB, free: 3.859 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2841, allocations: 0 / 391.9 MB, free: 3.859 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/0.3186, allocations: 4.54 MB / 396.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.567/9.885, allocations: 13.47 kB / 396.4 MB, free: 3.035 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