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.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.001444/0.001444, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001567/0.001567, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.609/1.609, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 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.376/3.376, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: 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 2.525e-06/2.525e-06, allocations: 0 / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.684e-05/3.936e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002564/0.002603, allocations: 0.8054 MB / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001836/0.002787, allocations: 39.8 kB / 0.8784 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/0.002856, allocations: 0 / 0.8784 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.297e-05/0.002899, allocations: 7.875 kB / 0.8784 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.003007, allocations: 16.59 kB / 0.8785 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.91e-05/0.003067, allocations: 19.92 kB / 0.8785 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.003205, allocations: 60.47 kB / 0.8785 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.003358, allocations: 31.97 kB / 0.8786 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.003475, allocations: 36.72 kB / 0.8786 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.003534, allocations: 20.62 kB / 0.8786 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.003558, allocations: 8 kB / 0.8786 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.003568, allocations: 4.844 kB / 0.8786 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.003594, allocations: 15.92 kB / 0.8786 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.398e-05/0.003658, allocations: 20.67 kB / 0.8787 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.003817, allocations: 83.56 kB / 0.8787 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.00382, allocations: 0.75 kB / 0.8787 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003821, allocations: 0 / 0.8787 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.003826, allocations: 0.5625 kB / 0.8787 GB, free: 5.332 MB / 0.8386 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.0005401/0.004366, allocations: 303.1 kB / 0.879 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.004412, allocations: 8.031 kB / 0.879 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.004474, allocations: 16.89 kB / 0.8791 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.004735, allocations: 134.3 kB / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.00475, allocations: 4.375 kB / 0.8792 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.004769, allocations: 9.094 kB / 0.8792 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.004976, allocations: 95.94 kB / 0.8793 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.004984, allocations: 4.125 kB / 0.8793 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.004997, allocations: 384 / 0.8793 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.005005, allocations: 4.375 kB / 0.8793 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.005109, allocations: 43.86 kB / 0.8793 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.005724, allocations: 352.5 kB / 0.8797 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.507e-05/0.00581, allocations: 41.19 kB / 0.8797 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.005853, allocations: 17.84 kB / 0.8797 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.005862, allocations: 0 / 0.8797 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.005904, allocations: 36 kB / 0.8798 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.005905, allocations: 4 kB / 0.8798 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002133/0.006118, allocations: 54.55 kB / 0.8798 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.006187, allocations: 77.11 kB / 0.8799 GB, free: 4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.006346, allocations: 136.9 kB / 0.88 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.006368, allocations: 26.8 kB / 0.8801 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.006476, allocations: 107.9 kB / 0.8802 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.006492, allocations: 7.953 kB / 0.8802 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.006537, allocations: 14.84 kB / 0.8802 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.006728, allocations: 322.8 kB / 0.8805 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.709e-05/0.006756, allocations: 11.92 kB / 0.8805 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.006789, allocations: 22.8 kB / 0.8805 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.865e-05/0.006838, allocations: 22.53 kB / 0.8805 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.00684, allocations: 0 / 0.8805 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001172/0.006957, allocations: 66.2 kB / 0.8806 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.006985, allocations: 5.656 kB / 0.8806 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.006991, allocations: 0 / 0.8806 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.007014, allocations: 4 kB / 0.8806 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.007085, allocations: 4 kB / 0.8806 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.007096, allocations: 4.438 kB / 0.8806 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.007125, allocations: 1.688 kB / 0.8806 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.007132, allocations: 4 kB / 0.8806 GB, free: 3.211 MB / 0.8386 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.0001184/0.007251, allocations: 117.8 kB / 0.8807 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.007323, allocations: 7.953 kB / 0.8807 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.007352, allocations: 8.656 kB / 0.8808 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.007364, allocations: 3.938 kB / 0.8808 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.007378, allocations: 8 kB / 0.8808 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.007386, allocations: 4.75 kB / 0.8808 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.007866, allocations: 407.2 kB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.007867, allocations: 7.938 kB / 0.8812 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.007887, allocations: 1.594 kB / 0.8812 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.007897, allocations: 4 kB / 0.8812 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.007906, allocations: 3.938 kB / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.007908, allocations: 0 / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.007908, allocations: 0 / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.008186, allocations: 76.81 kB / 0.8812 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.00821, allocations: 7.953 kB / 0.8813 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.008233, allocations: 7.938 kB / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.911e-05/0.008252, allocations: 0 / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.00829, allocations: 7.922 kB / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.008292, allocations: 0 / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001025/0.008395, allocations: 107.3 kB / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.008395, allocations: 1.656 kB / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002003/0.008595, allocations: 4 kB / 0.8814 GB, free: 2.371 MB / 0.8386 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.0001571/0.008752, allocations: 95.25 kB / 0.8815 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.257e-05/0.008845, allocations: 20.34 kB / 0.8815 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.00885, allocations: 4 kB / 0.8815 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-05/0.008866, allocations: 11.94 kB / 0.8815 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.00903, allocations: 3.984 kB / 0.8815 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.009456, allocations: 162.9 kB / 0.8817 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.341e-05/0.009549, allocations: 79.19 kB / 0.8817 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.009584, allocations: 12.23 kB / 0.8817 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.00962, allocations: 8.5 kB / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of SimCode: time 4.6e-07/0.00962, allocations: 0 / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of Templates: time 0.002923/0.01254, allocations: 355.5 kB / 0.8821 GB, free: 1.57 MB / 0.8386 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.552370407967828]