Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.00188/0.00188, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.001986/0.001987, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.51/1.51, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.167/3.167, allocations: 489.3 MB / 0.7687 GB, free: 3.719 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.89 kB / 1.103 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.038, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001861/1.039, allocations: 0.8366 MB / 1.263 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001082/1.04, allocations: 40.95 kB / 1.263 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/1.04, allocations: 1.531 kB / 1.263 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.6e-05/1.04, allocations: 10.39 kB / 1.263 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.751e-05/1.04, allocations: 13.62 kB / 1.263 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.772e-05/1.04, allocations: 21.03 kB / 1.263 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/1.04, allocations: 62.52 kB / 1.264 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/1.04, allocations: 38.36 kB / 1.264 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/1.04, allocations: 30.14 kB / 1.264 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/1.04, allocations: 34.48 kB / 1.264 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/1.04, allocations: 6.562 kB / 1.264 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/1.04, allocations: 6.094 kB / 1.264 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/1.04, allocations: 15.89 kB / 1.264 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/1.04, allocations: 28.62 kB / 1.264 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/1.04, allocations: 77.48 kB / 1.264 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/1.04, allocations: 0.7812 kB / 1.264 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.204e-06/1.04, allocations: 0 / 1.264 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.308e-06/1.04, allocations: 0.8125 kB / 1.264 GB, free: 7.227 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.0003576/1.041, allocations: 384.2 kB / 1.264 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/1.041, allocations: 13.19 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/1.041, allocations: 10.48 kB / 1.264 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/1.041, allocations: 188.3 kB / 1.264 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/1.041, allocations: 7.031 kB / 1.264 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/1.041, allocations: 5.953 kB / 1.264 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/1.041, allocations: 100.8 kB / 1.264 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/1.041, allocations: 4.188 kB / 1.264 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/1.041, allocations: 13.5 kB / 1.264 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.041, allocations: 1.5 kB / 1.264 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.649e-05/1.041, allocations: 32.44 kB / 1.264 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/1.042, allocations: 446.2 kB / 1.265 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.309e-05/1.042, allocations: 41.64 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/1.042, allocations: 20.73 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/1.042, allocations: 4.719 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/1.042, allocations: 32.69 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.042, allocations: 0 / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001597/1.042, allocations: 61.44 kB / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/1.042, allocations: 81.83 kB / 1.265 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/1.042, allocations: 160 kB / 1.265 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-06/1.042, allocations: 26.52 kB / 1.265 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/1.042, allocations: 108.1 kB / 1.265 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.126e-06/1.042, allocations: 9.922 kB / 1.265 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/1.042, allocations: 14.08 kB / 1.265 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.742e-05/1.042, allocations: 319.9 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/1.043, allocations: 11.52 kB / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2e-05/1.043, allocations: 16.33 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/1.043, allocations: 30.67 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.043, allocations: 0.75 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.358e-05/1.043, allocations: 53.36 kB / 1.266 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.043, allocations: 5.938 kB / 1.266 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.043, allocations: 8.781 kB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/1.043, allocations: 1.391 kB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.958e-05/1.043, allocations: 10.25 kB / 1.266 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/1.043, allocations: 0.7969 kB / 1.266 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.4e-05/1.043, allocations: 10.39 kB / 1.266 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/1.043, allocations: 5.812 kB / 1.266 GB, free: 5.129 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.791e-05/1.043, allocations: 109.9 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/1.043, allocations: 11.58 kB / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/1.043, allocations: 12.42 kB / 1.266 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/1.043, allocations: 6.125 kB / 1.266 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.043, allocations: 0.6562 kB / 1.266 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/1.043, allocations: 0.8438 kB / 1.266 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/1.043, allocations: 474.2 kB / 1.266 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.043, allocations: 0.7188 kB / 1.266 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/1.043, allocations: 4.125 kB / 1.267 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/1.043, allocations: 5.234 kB / 1.267 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/1.043, allocations: 4.906 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/1.043, allocations: 4.625 kB / 1.267 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.043, allocations: 1.547 kB / 1.267 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.265e-05/1.043, allocations: 80.8 kB / 1.267 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/1.043, allocations: 90.44 kB / 1.267 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/1.043, allocations: 1.391 kB / 1.267 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.014e-05/1.043, allocations: 5.094 kB / 1.267 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/1.043, allocations: 1.578 kB / 1.267 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/1.044, allocations: 0.875 kB / 1.267 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.348e-05/1.044, allocations: 121.9 kB / 1.267 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.044, allocations: 0 / 1.267 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001856/1.044, allocations: 6.688 kB / 1.267 GB, free: 4.219 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 9.442e-05/1.044, allocations: 103.6 kB / 1.267 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.414e-05/1.044, allocations: 24.02 kB / 1.267 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.044, allocations: 0 / 1.267 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.054e-05/1.044, allocations: 4.156 kB / 1.267 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/1.044, allocations: 11.67 kB / 1.267 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/1.044, allocations: 187.6 kB / 1.267 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/1.045, allocations: 0.6996 MB / 1.268 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/1.045, allocations: 12.28 kB / 1.268 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/1.045, allocations: 0 / 1.268 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of Templates: time 0.002683/1.047, allocations: 0.8617 MB / 1.269 GB, free: 3.145 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 11.78412980819121]