Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.001587/0.001587, allocations: 111.3 kB / 17.6 MB, free: 4.668 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.001883/0.001883, allocations: 190.8 kB / 20.78 MB, free: 1.5 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.481/1.481, allocations: 225.6 MB / 249.4 MB, free: 3.277 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) 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(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 71.89 kB / 1.107 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.942/0.944, allocations: 168.7 MB / 1.272 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001763/0.9458, allocations: 0.8438 MB / 1.272 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001007/0.9459, allocations: 44.81 kB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.9459, allocations: 1.594 kB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.9459, allocations: 9.844 kB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.69e-05/0.946, allocations: 5.438 kB / 1.272 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.308e-05/0.9461, allocations: 20.89 kB / 1.272 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.9462, allocations: 66.8 kB / 1.272 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.9463, allocations: 32 kB / 1.273 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.9463, allocations: 26.09 kB / 1.273 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.176e-05/0.9464, allocations: 26.22 kB / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.9464, allocations: 10.28 kB / 1.273 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.9464, allocations: 5.5 kB / 1.273 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.9464, allocations: 17.25 kB / 1.273 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.9465, allocations: 36.42 kB / 1.273 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.9466, allocations: 77.55 kB / 1.273 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9466, allocations: 0 / 1.273 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9466, allocations: 0 / 1.273 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.9466, allocations: 1 kB / 1.273 GB, free: 6.965 MB / 0.9981 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.0003672/0.947, allocations: 379.7 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.947, allocations: 13.64 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.507e-05/0.947, allocations: 39.34 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.947, allocations: 13.34 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.9472, allocations: 201.1 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.9472, allocations: 7.188 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.9472, allocations: 5.562 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.9474, allocations: 92.5 kB / 1.273 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9474, allocations: 4.719 kB / 1.273 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.9474, allocations: 5.266 kB / 1.273 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.9474, allocations: 2.344 kB / 1.273 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.164e-05/0.9474, allocations: 39.09 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.9478, allocations: 438.4 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.087e-05/0.9479, allocations: 45.62 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/0.9479, allocations: 20.52 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.9479, allocations: 4 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.093e-05/0.9479, allocations: 32.41 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.9479, allocations: 0.8125 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.9481, allocations: 56.98 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.9481, allocations: 82.33 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.9482, allocations: 159.5 kB / 1.274 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.541e-06/0.9482, allocations: 25.7 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.9483, allocations: 103.1 kB / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-06/0.9483, allocations: 6.234 kB / 1.274 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.9483, allocations: 22.55 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.907e-05/0.9484, allocations: 319.1 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.9484, allocations: 8.797 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.866e-05/0.9484, allocations: 24.31 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.9484, allocations: 27.09 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9484, allocations: 0 / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.126e-05/0.9485, allocations: 58.56 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.9485, allocations: 9.5 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.9485, allocations: 64 / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.9485, allocations: 4.938 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.9486, allocations: 10.97 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.9486, allocations: 0.9062 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.9486, allocations: 6.594 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.9486, allocations: 0.9688 kB / 1.275 GB, free: 4.832 MB / 0.9981 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 4.361e-05/0.9487, allocations: 115 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.9487, allocations: 15.59 kB / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/0.9487, allocations: 13.66 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.9487, allocations: 9.031 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.9487, allocations: 1.031 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.9487, allocations: 0 / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.949, allocations: 469.4 kB / 1.275 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.949, allocations: 4.969 kB / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.776e-05/0.949, allocations: 3.281 kB / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.949, allocations: 0 / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.949, allocations: 0.9688 kB / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.949, allocations: 5.25 kB / 1.275 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.949, allocations: 0 / 1.275 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.752e-05/0.9491, allocations: 80.25 kB / 1.276 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.9491, allocations: 91.19 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.9491, allocations: 0.8438 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.882e-05/0.9491, allocations: 0.8438 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.9491, allocations: 5.656 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.9491, allocations: 8.75 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.561e-05/0.9492, allocations: 123.4 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9492, allocations: 0 / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001788/0.9494, allocations: 7.125 kB / 1.276 GB, free: 3.91 MB / 0.9981 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.0002165/0.9496, allocations: 0.6149 MB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.215e-05/0.9497, allocations: 20.91 kB / 1.276 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9497, allocations: 1.031 kB / 1.276 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.608e-06/0.9497, allocations: 7.094 kB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.9498, allocations: 11.97 kB / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009431/0.9508, allocations: 1.347 MB / 1.278 GB, free: 18.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.9511, allocations: 0.6933 MB / 1.278 GB, free: 17.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.9511, allocations: 7.219 kB / 1.278 GB, free: 17.35 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.9512, allocations: 25.59 kB / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.9512, allocations: 5.062 kB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8814/1.833, allocations: 1.557 MB / 1.28 GB, free: 16.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/12.24, allocations: 7.766 kB / 1.28 GB, free: 16.95 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 25.479348627995932]