Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.00159/0.00159, allocations: 114.6 kB / 17.08 MB, free: 5.961 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.001777/0.001777, allocations: 191.7 kB / 20.02 MB, free: 3.043 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.473/1.473, 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.194/3.194, allocations: 489.3 MB / 0.7687 GB, free: 3.754 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_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.89 kB / 1.103 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8647/0.8666, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.00195/0.8686, allocations: 0.8314 MB / 1.263 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001089/0.8687, allocations: 41.91 kB / 1.263 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.8688, allocations: 1.5 kB / 1.263 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.861e-05/0.8688, allocations: 9.094 kB / 1.263 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.894e-05/0.8689, allocations: 18.23 kB / 1.263 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.845e-05/0.869, allocations: 16.73 kB / 1.263 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.8691, allocations: 61.55 kB / 1.264 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.8692, allocations: 41.44 kB / 1.264 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.489e-05/0.8693, allocations: 26.81 kB / 1.264 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.8693, allocations: 30.25 kB / 1.264 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.8694, allocations: 6.344 kB / 1.264 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.8694, allocations: 5.906 kB / 1.264 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.8694, allocations: 21.2 kB / 1.264 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.8695, allocations: 32.42 kB / 1.264 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.8696, allocations: 73.38 kB / 1.264 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8696, allocations: 4 kB / 1.264 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8696, allocations: 0.9375 kB / 1.264 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.8696, allocations: 0 / 1.264 GB, free: 7.266 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.0003575/0.87, allocations: 380.8 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.87, allocations: 8.938 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.87, allocations: 9.859 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.8702, allocations: 197.1 kB / 1.264 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.8702, allocations: 7.406 kB / 1.264 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.8702, allocations: 8.938 kB / 1.264 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.8704, allocations: 96.58 kB / 1.264 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.8704, allocations: 4.125 kB / 1.264 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.8704, allocations: 4.844 kB / 1.264 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.8704, allocations: 6.438 kB / 1.264 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.542e-05/0.8705, allocations: 36.41 kB / 1.264 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.871, allocations: 433.5 kB / 1.265 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.822e-05/0.871, allocations: 45.89 kB / 1.265 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.8711, allocations: 20.52 kB / 1.265 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.8711, allocations: 4.766 kB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.8711, allocations: 37.06 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.8711, allocations: 3.938 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001555/0.8713, allocations: 52.78 kB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.8713, allocations: 82.59 kB / 1.265 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.8714, allocations: 159.8 kB / 1.265 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.8714, allocations: 26.42 kB / 1.265 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.8715, allocations: 107.4 kB / 1.265 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-06/0.8715, allocations: 14.06 kB / 1.265 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.8715, allocations: 14.97 kB / 1.265 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.26e-05/0.8716, allocations: 319 kB / 1.266 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.8716, allocations: 11.83 kB / 1.266 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.92e-05/0.8716, allocations: 15.98 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.8717, allocations: 31.47 kB / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.8717, allocations: 0 / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.548e-05/0.8717, allocations: 58.36 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.8718, allocations: 5.594 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.8718, allocations: 3.938 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.8718, allocations: 1.891 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.8719, allocations: 6.109 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.8719, allocations: 0.75 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.8719, allocations: 10.95 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.8719, allocations: 1.625 kB / 1.266 GB, free: 5.18 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.66e-05/0.872, allocations: 122 kB / 1.266 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.872, allocations: 8.047 kB / 1.266 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.8721, allocations: 16 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.8721, allocations: 1.578 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8721, allocations: 0.75 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.8721, allocations: 4.688 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.8724, allocations: 475.4 kB / 1.267 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8724, allocations: 0.8125 kB / 1.267 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.8724, allocations: 7.453 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8724, allocations: 0.5938 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.8724, allocations: 1.5 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.8724, allocations: 0.5625 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8724, allocations: 0.7188 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.848e-05/0.8725, allocations: 81.95 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.8725, allocations: 94.3 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.8726, allocations: 0.7812 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.8726, allocations: 1.547 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.8726, allocations: 1.5 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.8726, allocations: 1.469 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.681e-05/0.8727, allocations: 120.4 kB / 1.267 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8727, allocations: 1.094 kB / 1.267 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001887/0.8729, allocations: 10.69 kB / 1.267 GB, free: 4.262 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 8.782e-05/0.873, allocations: 96.89 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.879e-05/0.8731, allocations: 20.5 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8731, allocations: 0.8125 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/0.8731, allocations: 8.953 kB / 1.267 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.8733, allocations: 10.5 kB / 1.267 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002464/0.8735, allocations: 188 kB / 1.267 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.8736, allocations: 0.6915 MB / 1.268 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.8737, allocations: 15.88 kB / 1.268 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.8737, allocations: 0 / 1.268 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of Templates: time 0.002634/0.8763, allocations: 0.8703 MB / 1.269 GB, free: 3.188 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.48989566299133]