Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008141/0.0008141, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008962/0.0008962, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8932/0.8932, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.725/1.725, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.289e-05, allocations: 6.281 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001476/0.001509, allocations: 0.7868 MB / 0.9525 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.585e-05/0.001605, allocations: 39.78 kB / 0.9526 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.001648, allocations: 4 kB / 0.9526 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.001679, allocations: 11.86 kB / 0.9526 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.937e-05/0.001739, allocations: 7.875 kB / 0.9526 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.337e-05/0.001772, allocations: 19.98 kB / 0.9526 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.614e-05/0.001858, allocations: 63.83 kB / 0.9527 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.175e-05/0.00195, allocations: 23.97 kB / 0.9527 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.181e-05/0.002022, allocations: 39.91 kB / 0.9527 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.527e-05/0.002057, allocations: 23.91 kB / 0.9527 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.002075, allocations: 4 kB / 0.9527 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.202e-06/0.002082, allocations: 8 kB / 0.9527 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.002096, allocations: 11.94 kB / 0.9528 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.00212, allocations: 23.91 kB / 0.9528 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.485e-05/0.002205, allocations: 83.56 kB / 0.9529 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.002207, allocations: 4 kB / 0.9529 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.61e-07/0.002208, allocations: 0 / 0.9529 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.002212, allocations: 3.938 kB / 0.9529 GB, free: 1.832 MB / 0.9011 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.000266/0.002478, allocations: 302 kB / 0.9532 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.002506, allocations: 12.03 kB / 0.9532 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.00253, allocations: 16.84 kB / 0.9532 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.002658, allocations: 137.5 kB / 0.9533 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.002668, allocations: 8.375 kB / 0.9533 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.002678, allocations: 8.359 kB / 0.9533 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.00278, allocations: 87.95 kB / 0.9534 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-06/0.002785, allocations: 192 / 0.9534 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.002793, allocations: 4.375 kB / 0.9534 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.002797, allocations: 384 / 0.9534 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.404e-05/0.002851, allocations: 43.86 kB / 0.9535 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.003148, allocations: 356.4 kB / 0.9538 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.149e-05/0.00319, allocations: 41.28 kB / 0.9538 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.003215, allocations: 21.84 kB / 0.9539 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-06/0.00322, allocations: 0 / 0.9539 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.003237, allocations: 30.56 kB / 0.9539 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.003238, allocations: 4 kB / 0.9539 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001043/0.003342, allocations: 49.62 kB / 0.9539 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.003376, allocations: 77.36 kB / 0.954 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.003457, allocations: 142.7 kB / 0.9542 GB, free: 356 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.003465, allocations: 29.64 kB / 0.9542 GB, free: 320 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.003516, allocations: 104 kB / 0.9543 GB, free: 212 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-06/0.003521, allocations: 3.953 kB / 0.9543 GB, free: 208 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.003545, allocations: 25.61 kB / 0.9543 GB, free: 176 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.003627, allocations: 322.8 kB / 0.9546 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.003637, allocations: 4 kB / 0.9546 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.003652, allocations: 17.72 kB / 0.9546 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/0.00368, allocations: 21.72 kB / 0.9547 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003682, allocations: 4 kB / 0.9547 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.717e-05/0.003729, allocations: 57.62 kB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.003739, allocations: 8 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.003742, allocations: 0 / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.003751, allocations: 0 / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.715e-05/0.003788, allocations: 8 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.003792, allocations: 3.938 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.208e-05/0.003804, allocations: 0 / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-06/0.003806, allocations: 0 / 0.9547 GB, free: 15.71 MB / 0.9167 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 5.582e-05/0.003862, allocations: 123.6 kB / 0.9549 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.003886, allocations: 7.953 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.544e-05/0.003902, allocations: 11.41 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.003903, allocations: 3.938 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.003906, allocations: 0 / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.00391, allocations: 3.938 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.004132, allocations: 410.5 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.004133, allocations: 3.938 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-06/0.004142, allocations: 8 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.004143, allocations: 0 / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.004149, allocations: 8 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.00415, allocations: 4 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.004152, allocations: 4 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.757e-05/0.004199, allocations: 73.94 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.004213, allocations: 7.953 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.587e-06/0.004222, allocations: 3.938 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-06/0.004231, allocations: 3.984 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-06/0.00424, allocations: 0 / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.004242, allocations: 8.031 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.918e-05/0.004281, allocations: 105.3 kB / 0.9555 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004281, allocations: 4.031 kB / 0.9555 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001231/0.004404, allocations: 8 kB / 0.9555 GB, free: 14.84 MB / 0.9167 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 5.692e-05/0.004461, allocations: 91.25 kB / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.37e-05/0.004515, allocations: 19.98 kB / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.004516, allocations: 0 / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.957e-06/0.004525, allocations: 11.94 kB / 0.9556 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.721e-05/0.004622, allocations: 7.984 kB / 0.9556 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002151/0.004838, allocations: 196.5 kB / 0.9558 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.43e-05/0.004882, allocations: 81.55 kB / 0.9559 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.0049, allocations: 12.5 kB / 0.9559 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of SimCode: time 4e-07/0.0049, allocations: 0 / 0.9559 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of Templates: time 0.001253/0.006153, allocations: 0.798 MB / 0.9567 GB, free: 13.57 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.382671111263335]