Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.0013/0.0013, allocations: 107.1 kB / 16.45 MB, free: 6.508 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.00142/0.00142, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.46/1.46, allocations: 230.6 MB / 252.8 MB, free: 9.102 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 3.332/3.332, allocations: 0.49 GB / 0.7916 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.002082/0.002082, allocations: 68.47 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3641, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002035/0.3661, allocations: 0.8313 MB / 1.322 GB, free: 2.496 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000112/0.3663, allocations: 39.78 kB / 1.322 GB, free: 2.457 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.3663, allocations: 0 / 1.322 GB, free: 2.457 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.678e-05/0.3663, allocations: 7.875 kB / 1.322 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.128e-05/0.3664, allocations: 19.88 kB / 1.322 GB, free: 2.43 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.638e-05/0.3665, allocations: 19.97 kB / 1.322 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.3666, allocations: 59.84 kB / 1.322 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3667, allocations: 35.91 kB / 1.322 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.525e-05/0.3668, allocations: 27.86 kB / 1.322 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.3668, allocations: 23.86 kB / 1.322 GB, free: 2.266 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.3668, allocations: 8 kB / 1.322 GB, free: 2.258 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.3668, allocations: 4 kB / 1.322 GB, free: 2.254 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.3669, allocations: 23.86 kB / 1.322 GB, free: 2.23 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.3669, allocations: 31.75 kB / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.367, allocations: 83.84 kB / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.367, allocations: 0 / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.373e-06/0.367, allocations: 0 / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.367, allocations: 0 / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005444/0.3676, allocations: 383.1 kB / 1.322 GB, free: 1.691 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3676, allocations: 11.98 kB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.056e-05/0.3677, allocations: 42.73 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.3677, allocations: 12.89 kB / 1.322 GB, free: 1.617 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.3679, allocations: 192.2 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.3679, allocations: 12.38 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.368, allocations: 8.375 kB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3681, allocations: 95.78 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3681, allocations: 3.938 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.3681, allocations: 8 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3681, allocations: 0 / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.646e-05/0.3682, allocations: 35.98 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.3688, allocations: 440.7 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.156e-05/0.3688, allocations: 33.16 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.3689, allocations: 21.83 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.3689, allocations: 0 / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3689, allocations: 42.59 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3689, allocations: 0 / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001672/0.3691, allocations: 57.48 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.3691, allocations: 81.11 kB / 1.323 GB, free: 456 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.3693, allocations: 160 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.3693, allocations: 29.64 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.3694, allocations: 116.3 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/0.3694, allocations: 3.953 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.3695, allocations: 17.72 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.3697, allocations: 318.8 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.3697, allocations: 4 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.3697, allocations: 25.69 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.227e-05/0.3698, allocations: 33.66 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3698, allocations: 0 / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.96e-05/0.3699, allocations: 53.66 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3699, allocations: 13.95 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3699, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3699, allocations: 4 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.37, allocations: 4 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.37, allocations: 3.938 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.37, allocations: 7.953 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.37, allocations: 4.062 kB / 1.324 GB, free: 15.61 MB / 1.029 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.0001296/0.3701, allocations: 113.8 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.3702, allocations: 11.89 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.3702, allocations: 15.86 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3702, allocations: 0 / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3702, allocations: 0 / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3702, allocations: 0 / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.3707, allocations: 470.8 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3707, allocations: 0 / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/0.3707, allocations: 4 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3707, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.3707, allocations: 4 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3707, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3707, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.853e-05/0.3708, allocations: 97.83 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.3709, allocations: 92.98 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.3709, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.371, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.371, allocations: 4 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.371, allocations: 3.938 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001142/0.3711, allocations: 124.7 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3711, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001891/0.3713, allocations: 8 kB / 1.325 GB, free: 14.57 MB / 1.029 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.0004355/0.3717, allocations: 0.621 MB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.917e-05/0.3718, allocations: 12 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3718, allocations: 8.156 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.3718, allocations: 7.938 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.372, allocations: 13.31 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.3733, allocations: 1.32 MB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.3736, allocations: 0.7002 MB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.3737, allocations: 4.438 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.3737, allocations: 27.42 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3737, allocations: 0 / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.3992, allocations: 1.583 MB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/8.633, allocations: 18.59 kB / 1.329 GB, free: 10.21 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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: 15.503396776970476]