Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002406/0.002406, allocations: 218.2 kB / 22.24 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.397/1.397, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.991/2.991, allocations: 0.49 GB / 0.7951 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 69.3 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3453, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002961/0.3482, allocations: 1.648 MB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002439/0.3507, allocations: 1.289 MB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.3508, allocations: 11.94 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004395/0.3512, allocations: 75.61 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.3514, allocations: 71.53 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/0.3523, allocations: 284.2 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.3525, allocations: 187.2 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.764e-05/0.3526, allocations: 5.688 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.3527, allocations: 87.69 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.3529, allocations: 91.58 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.3529, allocations: 8 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005822/0.3535, allocations: 339.5 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.998e-05/0.3536, allocations: 63.8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.319e-05/0.3537, allocations: 83.47 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005238/0.3542, allocations: 394.7 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3542, allocations: 3.984 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3542, allocations: 7.938 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.3542, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008544/0.3551, allocations: 492.6 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3551, allocations: 8.031 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.3552, allocations: 30.75 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.882e-05/0.3552, allocations: 28.75 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.3557, allocations: 222.6 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.3559, allocations: 145.1 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.3559, allocations: 4.359 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.3562, allocations: 97.53 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3562, allocations: 0 / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.3562, allocations: 0 / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3562, allocations: 0 / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.3564, allocations: 103.9 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.3567, allocations: 212.6 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.358, allocations: 294.3 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.3581, allocations: 60.83 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.3582, allocations: 23.92 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.3583, allocations: 34.56 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.001e-06/0.3583, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004907/0.3588, allocations: 213.4 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.3588, allocations: 51.41 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.3591, allocations: 308.3 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3591, allocations: 25.7 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.3592, allocations: 120.6 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.3592, allocations: 19.84 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.3593, allocations: 65.61 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3595, allocations: 330.8 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.3597, allocations: 159.9 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.3599, allocations: 155.7 kB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.3603, allocations: 297.4 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3603, allocations: 0 / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005501/0.3609, allocations: 409.1 kB / 1.334 GB, free: 8.801 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3609, allocations: 4 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.3609, allocations: 0 / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3609, allocations: 0 / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/0.361, allocations: 15.98 kB / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.361, allocations: 0 / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.3612, allocations: 43.62 kB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3612, allocations: 256 / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.3613, allocations: 134.3 kB / 1.334 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.3613, allocations: 23.8 kB / 1.334 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.3617, allocations: 171.4 kB / 1.334 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3617, allocations: 0 / 1.334 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3617, allocations: 4 kB / 1.334 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3617, allocations: 3.938 kB / 1.334 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.3619, allocations: 196.6 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3619, allocations: 3.938 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.183e-05/0.362, allocations: 15.98 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.362, allocations: 0 / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.362, allocations: 8 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.362, allocations: 0 / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.362, allocations: 0 / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.3623, allocations: 192.8 kB / 1.335 GB, free: 7.926 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.3624, allocations: 31.78 kB / 1.335 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3624, allocations: 0 / 1.335 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.3625, allocations: 4 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.3625, allocations: 3.984 kB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.3625, allocations: 4 kB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001798/0.3627, allocations: 199.1 kB / 1.335 GB, free: 7.691 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3627, allocations: 4 kB / 1.335 GB, free: 7.688 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000418/0.3631, allocations: 111.8 kB / 1.335 GB, free: 7.578 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/0.3642, allocations: 0.8829 MB / 1.336 GB, free: 6.664 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000502/0.3647, allocations: 319.2 kB / 1.336 GB, free: 6.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3647, allocations: 0 / 1.336 GB, free: 6.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.3648, allocations: 51.97 kB / 1.336 GB, free: 6.289 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.3651, allocations: 44.83 kB / 1.336 GB, free: 6.242 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.3682, allocations: 2.704 MB / 1.339 GB, free: 3.453 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.3683, allocations: 128 kB / 1.339 GB, free: 3.309 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.837e-05/0.3683, allocations: 21.38 kB / 1.339 GB, free: 3.289 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.959e-05/0.3684, allocations: 55.42 kB / 1.339 GB, free: 3.234 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.3684, allocations: 0 / 1.339 GB, free: 3.234 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.4022, allocations: 6.596 MB / 1.346 GB, free: 12.83 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.06, allocations: 2.406 kB / 1.346 GB, free: 12.83 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:time,T,TExa,TMonotone,errMonotone,errNonMonotone [Calling sys.exit(0), Time elapsed: 17.4323551680136]