Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.001605/0.001605, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001687/0.001687, allocations: 217 kB / 22.25 MB, free: 5.082 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.222/3.222, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.001992/0.001992, allocations: 69.83 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3699, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002396/0.3722, allocations: 0.8841 MB / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001342/0.3724, allocations: 51.78 kB / 1.354 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.3724, allocations: 4 kB / 1.354 GB, free: 7.492 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.3725, allocations: 19.8 kB / 1.354 GB, free: 7.473 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.8e-05/0.3726, allocations: 7.875 kB / 1.354 GB, free: 7.465 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.075e-05/0.3726, allocations: 23.98 kB / 1.354 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.3728, allocations: 83.75 kB / 1.354 GB, free: 7.359 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.373, allocations: 41.22 kB / 1.354 GB, free: 7.32 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.735e-05/0.373, allocations: 35.81 kB / 1.354 GB, free: 7.285 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.417e-05/0.3731, allocations: 35.78 kB / 1.354 GB, free: 7.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.3731, allocations: 8 kB / 1.354 GB, free: 7.242 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.3731, allocations: 8 kB / 1.354 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.3731, allocations: 15.92 kB / 1.354 GB, free: 7.219 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.125e-05/0.3732, allocations: 47.67 kB / 1.354 GB, free: 7.172 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.3733, allocations: 103.8 kB / 1.354 GB, free: 7.07 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3733, allocations: 0 / 1.354 GB, free: 7.07 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3733, allocations: 0 / 1.354 GB, free: 7.07 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3734, allocations: 0 / 1.354 GB, free: 7.07 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004498/0.3738, allocations: 326 kB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3738, allocations: 12.03 kB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.3739, allocations: 50.67 kB / 1.355 GB, free: 6.648 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.3739, allocations: 12.84 kB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.3741, allocations: 142.5 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3741, allocations: 12.56 kB / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.3742, allocations: 12.38 kB / 1.355 GB, free: 6.449 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.3744, allocations: 104.4 kB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3744, allocations: 3.938 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3744, allocations: 8 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3744, allocations: 0 / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.435e-05/0.3745, allocations: 43.97 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.3751, allocations: 431.6 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.578e-05/0.3752, allocations: 41.16 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.3752, allocations: 17.78 kB / 1.355 GB, free: 5.73 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.3753, allocations: 0 / 1.355 GB, free: 5.73 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.3753, allocations: 38.55 kB / 1.355 GB, free: 5.684 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3753, allocations: 4 kB / 1.355 GB, free: 5.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001757/0.3755, allocations: 49.59 kB / 1.355 GB, free: 5.625 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.3755, allocations: 81.05 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.3758, allocations: 194.6 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3758, allocations: 25.7 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3759, allocations: 108.3 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/0.3759, allocations: 7.953 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.3759, allocations: 17.94 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3761, allocations: 318.8 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.3761, allocations: 11.94 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.3762, allocations: 17.7 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.732e-05/0.3763, allocations: 33.72 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3763, allocations: 0 / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.293e-05/0.3764, allocations: 61.53 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3764, allocations: 8 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3764, allocations: 0 / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3764, allocations: 4 kB / 1.356 GB, free: 4.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.3765, allocations: 4 kB / 1.356 GB, free: 4.676 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3765, allocations: 4 kB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.3765, allocations: 7.875 kB / 1.356 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.3765, allocations: 8.062 kB / 1.356 GB, free: 4.656 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.0001682/0.3767, allocations: 125.7 kB / 1.356 GB, free: 4.523 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.3767, allocations: 11.91 kB / 1.356 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.3768, allocations: 12.48 kB / 1.356 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3768, allocations: 0 / 1.356 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3768, allocations: 0 / 1.356 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3768, allocations: 3.938 kB / 1.356 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.3773, allocations: 461.8 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3773, allocations: 0 / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.002e-05/0.3773, allocations: 4 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3773, allocations: 3.938 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.3773, allocations: 0 / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.3773, allocations: 4 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3773, allocations: 0 / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.209e-05/0.3774, allocations: 81.95 kB / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/0.3774, allocations: 11.95 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.3775, allocations: 7.938 kB / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.495e-05/0.3775, allocations: 7.922 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-06/0.3775, allocations: 0 / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.3775, allocations: 0 / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001234/0.3776, allocations: 136.8 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3776, allocations: 0 / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001944/0.3778, allocations: 16.03 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004312/0.3782, allocations: 0.6093 MB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.3784, allocations: 28.02 kB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3784, allocations: 3.938 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-05/0.3784, allocations: 8 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.3785, allocations: 11.78 kB / 1.358 GB, free: 3.004 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.3803, allocations: 1.404 MB / 1.359 GB, free: 1.508 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.3807, allocations: 0.7041 MB / 1.36 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.689e-05/0.3807, allocations: 8.484 kB / 1.36 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.3808, allocations: 27.44 kB / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3808, allocations: 0 / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.4091, allocations: 1.852 MB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.26, allocations: 16.28 kB / 1.362 GB, free: 15 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.408062427999994]