Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001129, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 68.31 kB / 307 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08245/0.08383, allocations: 50.54 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003733/0.0876, allocations: 2.501 MB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.08873, allocations: 0.6855 MB / 360.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.08887, allocations: 4 kB / 360.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.08902, allocations: 39.64 kB / 360.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.08918, allocations: 67.34 kB / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.08943, allocations: 59.92 kB / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.0897, allocations: 262.8 kB / 361.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.08992, allocations: 107.7 kB / 361.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.09005, allocations: 95.66 kB / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.09022, allocations: 115.5 kB / 361.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.11e-05/0.09027, allocations: 20 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.955e-05/0.09036, allocations: 28 kB / 361.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.09041, allocations: 51.83 kB / 361.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.09052, allocations: 111.5 kB / 361.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.0908, allocations: 263 kB / 362 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.09082, allocations: 0 / 362 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.09082, allocations: 0 / 362 MB, free: 9.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.09084, allocations: 0 / 362 MB, free: 9.609 MB / 302.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.000885/0.09173, allocations: 0.542 MB / 362.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.09177, allocations: 11.97 kB / 362.5 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.721e-05/0.09185, allocations: 63.11 kB / 362.6 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.982e-05/0.09196, allocations: 28.64 kB / 362.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.0922, allocations: 232.3 kB / 362.8 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.09222, allocations: 16.81 kB / 362.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.09226, allocations: 20.38 kB / 362.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.09267, allocations: 234 kB / 363.1 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.09269, allocations: 3.938 kB / 363.1 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.09272, allocations: 8 kB / 363.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.09273, allocations: 4 kB / 363.1 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.09311, allocations: 161.7 kB / 363.3 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.09431, allocations: 0.8282 MB / 364.1 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.09472, allocations: 158.6 kB / 364.3 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.09491, allocations: 76.83 kB / 364.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.09493, allocations: 4 kB / 364.3 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.09496, allocations: 46.44 kB / 364.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.09497, allocations: 0 / 364.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008179/0.09579, allocations: 331.3 kB / 364.7 MB, free: 6.645 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.09584, allocations: 59.34 kB / 364.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.09598, allocations: 178.6 kB / 364.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.09601, allocations: 25.7 kB / 365 MB, free: 6.359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.09609, allocations: 152.1 kB / 365.1 MB, free: 6.207 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.09614, allocations: 51.2 kB / 365.2 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-05/0.09621, allocations: 41.7 kB / 365.2 MB, free: 6.109 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.09631, allocations: 330.8 kB / 365.5 MB, free: 5.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.09646, allocations: 47.97 kB / 365.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.09662, allocations: 92.25 kB / 365.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.09692, allocations: 146.9 kB / 365.8 MB, free: 5.469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.09693, allocations: 4 kB / 365.8 MB, free: 5.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004363/0.09737, allocations: 214 kB / 366 MB, free: 5.246 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.0974, allocations: 8 kB / 366 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.09741, allocations: 128 / 366 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.09758, allocations: 40.83 kB / 366.1 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.09774, allocations: 31.92 kB / 366.1 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.09881, allocations: 1.473 MB / 367.6 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.099, allocations: 27.86 kB / 367.6 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.09902, allocations: 11.92 kB / 367.6 MB, free: 3.504 MB / 302.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.0001078/0.09913, allocations: 146.8 kB / 367.8 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.09918, allocations: 15.81 kB / 367.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.09923, allocations: 22.02 kB / 367.8 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.09924, allocations: 3.984 kB / 367.8 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.09925, allocations: 3.938 kB / 367.8 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.09926, allocations: 3.984 kB / 367.8 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.09995, allocations: 0.5215 MB / 368.3 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.09996, allocations: 0 / 368.3 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1001, allocations: 23.98 kB / 368.3 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/0.1002, allocations: 36.83 kB / 368.4 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1003, allocations: 0 / 368.4 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009637/0.1012, allocations: 1.461 MB / 369.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1012, allocations: 4.094 kB / 369.8 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.1018, allocations: 355.9 kB / 370.2 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.1019, allocations: 104.9 kB / 370.3 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.1019, allocations: 12 kB / 370.3 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.1021, allocations: 20.05 kB / 370.3 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.1022, allocations: 15.97 kB / 370.3 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.1022, allocations: 4 kB / 370.4 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.846e-05/0.1023, allocations: 132.3 kB / 370.5 MB, free: 404 kB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1023, allocations: 0 / 370.5 MB, free: 404 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.1026, allocations: 59.84 kB / 370.5 MB, free: 344 kB / 302.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.1301/0.2328, allocations: 0.8899 MB / 371.4 MB, free: 19.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005444/0.2333, allocations: 267 kB / 371.7 MB, free: 19.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2334, allocations: 0 / 371.7 MB, free: 19.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.2336, allocations: 197.3 kB / 371.9 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.234, allocations: 32.25 kB / 371.9 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.2366, allocations: 2.198 MB / 374.1 MB, free: 17.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.2368, allocations: 0.7364 MB / 374.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.122e-05/0.2369, allocations: 16.97 kB / 374.9 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.002e-05/0.237, allocations: 54.48 kB / 374.9 MB, free: 17.25 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.237, allocations: 0.6875 kB / 374.9 MB, free: 17.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.2623, allocations: 4.44 MB / 379.4 MB, free: 16.74 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.041/9.303, allocations: 1.219 kB / 379.4 MB, free: 16.74 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches