Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",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.001722/0.001722, allocations: 114.4 kB / 17.73 MB, free: 5.34 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.001797/0.001797, allocations: 187.1 kB / 18.66 MB, free: 4.414 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.372/1.372, 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.001808/0.001808, allocations: 47.92 kB / 328 MB, free: 3.84 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1201, allocations: 46.62 MB / 374.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.006093/0.1262, allocations: 3.066 MB / 377.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.1288, allocations: 0.9988 MB / 378.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/0.1291, allocations: 15.94 kB / 378.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.1295, allocations: 95.05 kB / 378.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.1298, allocations: 95.02 kB / 378.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000717/0.1305, allocations: 219.6 kB / 379.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008088/0.1314, allocations: 0.541 MB / 379.6 MB, free: 60 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2202/0.3515, allocations: 219.1 kB / 379.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004274/0.352, allocations: 172 kB / 380 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.3522, allocations: 177.7 kB / 380.2 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.3523, allocations: 36.81 kB / 380.2 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3524, allocations: 51.02 kB / 380.3 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.215e-05/0.3525, allocations: 90.59 kB / 380.4 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.3527, allocations: 225.2 kB / 380.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007433/0.3535, allocations: 0.585 MB / 381.2 MB, free: 9.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3535, allocations: 2 kB / 381.2 MB, free: 9.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3535, allocations: 5.312 kB / 381.2 MB, free: 9.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.3535, allocations: 0 / 381.2 MB, free: 9.004 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001022/0.3545, allocations: 0.7489 MB / 381.9 MB, free: 8.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3546, allocations: 10.38 kB / 381.9 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.535e-05/0.3547, allocations: 79.52 kB / 382 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.419e-05/0.3548, allocations: 61.77 kB / 382.1 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.3554, allocations: 423.8 kB / 382.5 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.3554, allocations: 31.53 kB / 382.5 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.3555, allocations: 44.8 kB / 382.6 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007796/0.3563, allocations: 487.2 kB / 383 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.3563, allocations: 6.719 kB / 383.1 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.3564, allocations: 24.09 kB / 383.1 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.3564, allocations: 11.47 kB / 383.1 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.3569, allocations: 240.5 kB / 383.3 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.3591, allocations: 2.834 MB / 386.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.3596, allocations: 163.8 kB / 386.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.3597, allocations: 69.92 kB / 386.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.3599, allocations: 84.02 kB / 386.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.3599, allocations: 39.17 kB / 386.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.3599, allocations: 0 / 386.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001267/0.3612, allocations: 0.6287 MB / 387.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.3612, allocations: 54.28 kB / 387.2 MB, free: 5.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.3616, allocations: 346.2 kB / 387.5 MB, free: 4.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3616, allocations: 29.45 kB / 387.6 MB, free: 4.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.3618, allocations: 302 kB / 387.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.3618, allocations: 72.5 kB / 387.9 MB, free: 4.684 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.3619, allocations: 73.2 kB / 388 MB, free: 4.633 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3621, allocations: 343.9 kB / 388.3 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3622, allocations: 71.81 kB / 388.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.3624, allocations: 211.8 kB / 388.6 MB, free: 4.07 MB / 318.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008883/0.3633, allocations: 0.5266 MB / 389.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3633, allocations: 1.094 kB / 389.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005569/0.3639, allocations: 359.7 kB / 389.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3639, allocations: 12.78 kB / 389.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3639, allocations: 4.594 kB / 389.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.3641, allocations: 41.39 kB / 389.5 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.3643, allocations: 71.92 kB / 389.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009725/0.3653, allocations: 1.646 MB / 391.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.3655, allocations: 11.92 kB / 391.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.3655, allocations: 23 kB / 391.3 MB, free: 1.887 MB / 318.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (39): * Single equations (assignments): 38 * 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.0001909/0.3657, allocations: 168.5 kB / 391.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.3658, allocations: 36.89 kB / 391.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.3659, allocations: 38.19 kB / 391.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3659, allocations: 6.688 kB / 391.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3659, allocations: 0 / 391.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.3659, allocations: 2.688 kB / 391.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.3669, allocations: 0.7134 MB / 392.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3669, allocations: 0 / 392.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.3671, allocations: 36.38 kB / 392.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.799e-05/0.3672, allocations: 28.41 kB / 392.3 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3672, allocations: 1.094 kB / 392.3 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007622/0.368, allocations: 1.436 MB / 393.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.368, allocations: 1.281 kB / 393.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.3686, allocations: 372 kB / 394.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.863e-05/0.3687, allocations: 106.1 kB / 394.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.3687, allocations: 5.828 kB / 394.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.3689, allocations: 4.672 kB / 394.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.3689, allocations: 14.61 kB / 394.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.3689, allocations: 3.281 kB / 394.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002642/0.3692, allocations: 237.6 kB / 394.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3692, allocations: 0 / 394.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004652/0.3697, allocations: 71.09 kB / 394.6 MB, free: 15.23 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.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 (15): * Single equations (assignments): 14 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008603/0.3706, allocations: 0.8945 MB / 395.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006151/0.3712, allocations: 308.3 kB / 395.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3712, allocations: 128 / 395.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.3715, allocations: 195.9 kB / 395.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3718, allocations: 46.27 kB / 396 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.3763, allocations: 3.329 MB / 399.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.3767, allocations: 0.8246 MB / 400.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.3769, allocations: 37.81 kB / 400.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.3771, allocations: 156.1 kB / 400.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3771, allocations: 0 / 400.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.4092, allocations: 6.264 MB / 406.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.856/10.27, allocations: 17.61 kB / 406.6 MB, free: 9.344 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_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_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches