Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001375/0.001375, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001892/0.001892, allocations: 218.2 kB / 22.25 MB, free: 5.117 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.98 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.368/3.368, allocations: 0.505 GB / 0.8101 GB, free: 22.01 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_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_latest_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.002079/0.002079, allocations: 71.3 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3707, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.00233/0.373, allocations: 0.8335 MB / 1.354 GB, free: 7.594 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001414/0.3732, allocations: 47.78 kB / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.15e-05/0.3733, allocations: 0 / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.126e-05/0.3733, allocations: 7.875 kB / 1.354 GB, free: 7.539 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.488e-05/0.3734, allocations: 7.875 kB / 1.354 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.483e-05/0.3734, allocations: 23.97 kB / 1.354 GB, free: 7.508 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.3736, allocations: 59.84 kB / 1.354 GB, free: 7.449 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.3737, allocations: 27.92 kB / 1.354 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.686e-05/0.3738, allocations: 35.8 kB / 1.354 GB, free: 7.387 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.3738, allocations: 27.84 kB / 1.354 GB, free: 7.359 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3738, allocations: 8 kB / 1.354 GB, free: 7.352 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.3738, allocations: 8 kB / 1.354 GB, free: 7.344 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.3739, allocations: 15.92 kB / 1.354 GB, free: 7.328 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.374, allocations: 35.75 kB / 1.354 GB, free: 7.293 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.3741, allocations: 79.84 kB / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3741, allocations: 3.938 kB / 1.354 GB, free: 7.211 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3741, allocations: 0 / 1.354 GB, free: 7.211 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3741, allocations: 0 / 1.354 GB, free: 7.211 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000469/0.3746, allocations: 302 kB / 1.354 GB, free: 6.883 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3746, allocations: 12.03 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.352e-05/0.3747, allocations: 46.73 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.3747, allocations: 8.891 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.3749, allocations: 134.4 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3749, allocations: 4.375 kB / 1.355 GB, free: 6.648 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.375, allocations: 12.38 kB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3752, allocations: 97.52 kB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3752, allocations: 3.938 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3752, allocations: 4 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3752, allocations: 4 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.397e-05/0.3753, allocations: 39.92 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.3759, allocations: 395.8 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.741e-05/0.376, allocations: 41.19 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.376, allocations: 25.84 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-06/0.376, allocations: 0 / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.3761, allocations: 34.55 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3761, allocations: 0 / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002004/0.3763, allocations: 53.53 kB / 1.355 GB, free: 5.855 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.3764, allocations: 85.36 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3765, allocations: 159.3 kB / 1.355 GB, free: 5.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3766, allocations: 25.7 kB / 1.355 GB, free: 5.559 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.3766, allocations: 108 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.3766, allocations: 3.953 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.3767, allocations: 21.66 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3768, allocations: 322.8 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.3768, allocations: 0 / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-05/0.3769, allocations: 25.72 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.097e-05/0.3769, allocations: 33.64 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3769, allocations: 3.938 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001021/0.377, allocations: 53.59 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.377, allocations: 11.94 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3771, allocations: 0 / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3771, allocations: 4.062 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.3771, allocations: 11.98 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3771, allocations: 4 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.3772, allocations: 3.953 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.3772, allocations: 0 / 1.356 GB, free: 4.926 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 8.972e-05/0.3773, allocations: 121.7 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.3773, allocations: 11.89 kB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.3773, allocations: 11.81 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3773, allocations: 3.984 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3773, allocations: 4 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.3773, allocations: 4 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.3778, allocations: 449.7 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3778, allocations: 0 / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.3778, allocations: 4 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3778, allocations: 0 / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.3778, allocations: 0 / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3778, allocations: 4.062 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3779, allocations: 0 / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.378, allocations: 85.81 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.378, allocations: 7.953 kB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.378, allocations: 4 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.378, allocations: 0 / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.378, allocations: 8.016 kB / 1.357 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.378, allocations: 0 / 1.357 GB, free: 4.129 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001115/0.3781, allocations: 118.3 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of sort global known variables: time 5e-08/0.3781, allocations: 0 / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001926/0.3783, allocations: 8 kB / 1.357 GB, free: 4.008 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.00047/0.3788, allocations: 0.6231 MB / 1.357 GB, free: 3.355 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.873e-05/0.3789, allocations: 15.98 kB / 1.357 GB, free: 3.34 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3789, allocations: 4 kB / 1.357 GB, free: 3.336 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.3789, allocations: 7.938 kB / 1.357 GB, free: 3.328 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.3791, allocations: 4 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.3806, allocations: 1.336 MB / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.3809, allocations: 0.7001 MB / 1.359 GB, free: 1.164 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.381, allocations: 8.422 kB / 1.359 GB, free: 1.156 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.381, allocations: 27.42 kB / 1.36 GB, free: 1.129 MB / 1.045 GB Notification: Performance of SimCode: time 6.71e-07/0.381, allocations: 4 kB / 1.36 GB, free: 1.125 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.409, allocations: 1.682 MB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.65, allocations: 10.8 kB / 1.361 GB, free: 15.56 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.591124628903344]