Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 124.1 kB / 17.79 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 198.8 kB / 20.73 MB, free: 2.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 51.92 kB / 365.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1056, allocations: 52.13 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00517/0.1108, allocations: 2.517 MB / 420.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.1123, allocations: 0.6389 MB / 420.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.1125, allocations: 4 kB / 420.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.1127, allocations: 35.59 kB / 421 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.1129, allocations: 67.41 kB / 421 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.1132, allocations: 71.84 kB / 421.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.1136, allocations: 262.8 kB / 421.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.1139, allocations: 83.41 kB / 421.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.1141, allocations: 95.66 kB / 421.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.1143, allocations: 111.5 kB / 421.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.266e-05/0.1143, allocations: 23.94 kB / 421.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1144, allocations: 28 kB / 421.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1145, allocations: 47.84 kB / 421.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.1147, allocations: 119.4 kB / 421.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.1151, allocations: 266.8 kB / 422.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1151, allocations: 0 / 422.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1151, allocations: 0 / 422.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1151, allocations: 0 / 422.1 MB, free: 8.246 MB / 350.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.001191/0.1163, allocations: 0.5495 MB / 422.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.1164, allocations: 8.031 kB / 422.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.74e-05/0.1165, allocations: 55.17 kB / 422.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.1166, allocations: 28.8 kB / 422.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.117, allocations: 240.4 kB / 423 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.117, allocations: 20.81 kB / 423 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.1171, allocations: 20.38 kB / 423 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.1175, allocations: 230 kB / 423.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1175, allocations: 3.984 kB / 423.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.1176, allocations: 12 kB / 423.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1176, allocations: 4 kB / 423.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.118, allocations: 161.6 kB / 423.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.1195, allocations: 0.8323 MB / 424.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.12, allocations: 146.6 kB / 424.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.1202, allocations: 68.83 kB / 424.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.1202, allocations: 8 kB / 424.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1202, allocations: 34.5 kB / 424.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.1202, allocations: 0 / 424.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009656/0.1212, allocations: 333.6 kB / 424.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.1212, allocations: 63.39 kB / 424.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.1214, allocations: 167.2 kB / 425.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.1214, allocations: 37.64 kB / 425.1 MB, free: 5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1216, allocations: 148.2 kB / 425.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.1216, allocations: 59.48 kB / 425.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.487e-05/0.1217, allocations: 37.7 kB / 425.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1219, allocations: 334.8 kB / 425.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.1221, allocations: 51.97 kB / 425.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.1223, allocations: 92.25 kB / 425.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.1226, allocations: 142.2 kB / 425.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1226, allocations: 0 / 425.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005305/0.1232, allocations: 224.5 kB / 426.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1232, allocations: 7.938 kB / 426.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1232, allocations: 0 / 426.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/0.1234, allocations: 32.83 kB / 426.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.1236, allocations: 39.92 kB / 426.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.125, allocations: 1.469 MB / 427.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.1252, allocations: 31.91 kB / 427.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.1252, allocations: 8.062 kB / 427.8 MB, free: 2.145 MB / 350.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.0001512/0.1253, allocations: 138.4 kB / 427.9 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.1254, allocations: 23.84 kB / 427.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.1254, allocations: 17.88 kB / 427.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1255, allocations: 4 kB / 427.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1255, allocations: 3.938 kB / 427.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1255, allocations: 3.984 kB / 427.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008683/0.1263, allocations: 0.5186 MB / 428.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1263, allocations: 3.938 kB / 428.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.1265, allocations: 23.98 kB / 428.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000137/0.1266, allocations: 32.83 kB / 428.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1267, allocations: 4 kB / 428.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.128, allocations: 1.469 MB / 430 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.128, allocations: 0 / 430 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.1287, allocations: 358.5 kB / 430.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.1288, allocations: 105 kB / 430.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.1288, allocations: 8 kB / 430.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1291, allocations: 24.05 kB / 430.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.1291, allocations: 15.97 kB / 430.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.1291, allocations: 4 kB / 430.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1293, allocations: 128.3 kB / 430.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1293, allocations: 0 / 430.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003654/0.1296, allocations: 63.89 kB / 430.7 MB, free: 14.96 MB / 366.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.001035/0.1307, allocations: 0.8887 MB / 431.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006094/0.1313, allocations: 254.8 kB / 431.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1313, allocations: 0 / 431.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.1316, allocations: 182.6 kB / 432 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1319, allocations: 39.86 kB / 432 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.1353, allocations: 2.224 MB / 434.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.1358, allocations: 0.732 MB / 435 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.743e-05/0.1359, allocations: 17.55 kB / 435 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.136, allocations: 55.42 kB / 435.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.136, allocations: 0 / 435.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0374/0.1734, allocations: 4.558 MB / 439.6 MB, free: 6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.2, allocations: 7.562 kB / 439.6 MB, free: 5.996 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! Error: Could not read variable onOffController.y in file Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable onOffController.y from file Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.04242479428649]