Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0007912/0.0007912, 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.0008452/0.0008452, allocations: 178.2 kB / 23.22 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.8649/0.8649, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.75/1.75, allocations: 377.9 MB / 0.6229 GB, free: 8.629 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.546e-05, allocations: 9.875 kB / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001242/0.001267, allocations: 0.7868 MB / 0.983 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001004/0.001368, allocations: 43.78 kB / 0.983 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.001414, allocations: 4 kB / 0.983 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.001449, allocations: 7.875 kB / 0.983 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.676e-05/0.001516, allocations: 7.875 kB / 0.983 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.978e-05/0.001556, allocations: 23.95 kB / 0.9831 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.299e-05/0.001648, allocations: 67.84 kB / 0.9831 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.001758, allocations: 23.92 kB / 0.9832 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.057e-05/0.001819, allocations: 39.89 kB / 0.9832 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.104e-05/0.00187, allocations: 15.92 kB / 0.9832 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.001894, allocations: 8 kB / 0.9832 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-06/0.001901, allocations: 4 kB / 0.9832 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.001919, allocations: 23.91 kB / 0.9832 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.001945, allocations: 19.92 kB / 0.9833 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.32e-05/0.002038, allocations: 75.58 kB / 0.9833 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.00204, allocations: 0 / 0.9833 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002041, allocations: 4 kB / 0.9833 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.002045, allocations: 4 kB / 0.9833 GB, free: 0.8906 MB / 0.9323 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.0003421/0.002387, allocations: 302 kB / 0.9836 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.002422, allocations: 12.03 kB / 0.9836 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.002453, allocations: 16.84 kB / 0.9837 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.002598, allocations: 133.6 kB / 0.9838 GB, free: 388 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.002607, allocations: 384 / 0.9838 GB, free: 388 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.002619, allocations: 12.38 kB / 0.9838 GB, free: 376 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.002731, allocations: 87.95 kB / 0.9839 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.002739, allocations: 192 / 0.9839 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.002749, allocations: 8.375 kB / 0.9839 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.002755, allocations: 4.375 kB / 0.9839 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.957e-05/0.002814, allocations: 47.84 kB / 0.9839 GB, free: 216 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.003171, allocations: 348.4 kB / 0.9843 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.066e-05/0.003222, allocations: 45.27 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.00325, allocations: 13.84 kB / 0.9843 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.00326, allocations: 4 kB / 0.9843 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.00328, allocations: 34.56 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.003281, allocations: 4 kB / 0.9844 GB, free: 15.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001426/0.003424, allocations: 49.59 kB / 0.9844 GB, free: 15.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.003459, allocations: 85.09 kB / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.044e-05/0.00354, allocations: 125.7 kB / 0.9846 GB, free: 15.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.003548, allocations: 29.7 kB / 0.9846 GB, free: 15.38 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.003597, allocations: 111.9 kB / 0.9847 GB, free: 15.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.003604, allocations: 7.922 kB / 0.9848 GB, free: 15.26 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.00363, allocations: 25.61 kB / 0.9848 GB, free: 15.23 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.003698, allocations: 314.8 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.003711, allocations: 4.25 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.00373, allocations: 25.7 kB / 0.9851 GB, free: 14.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.003762, allocations: 25.72 kB / 0.9851 GB, free: 14.84 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.003763, allocations: 0 / 0.9851 GB, free: 14.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.378e-05/0.003817, allocations: 53.62 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.003829, allocations: 6.5 kB / 0.9852 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.003833, allocations: 4 kB / 0.9852 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.003845, allocations: 0 / 0.9852 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.657e-05/0.003891, allocations: 4.094 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.003896, allocations: 8 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.003912, allocations: 15.89 kB / 0.9852 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.003917, allocations: 7.922 kB / 0.9852 GB, free: 14.74 MB / 0.948 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.276e-05/0.003969, allocations: 113.8 kB / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.00399, allocations: 4 kB / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.627e-05/0.004007, allocations: 7.453 kB / 0.9853 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.00401, allocations: 7.938 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.004013, allocations: 0 / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.004016, allocations: 3.938 kB / 0.9854 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.004247, allocations: 414.5 kB / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.004248, allocations: 3.938 kB / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-06/0.004257, allocations: 4 kB / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.004259, allocations: 0 / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.004265, allocations: 3.938 kB / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.004266, allocations: 0 / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.004267, allocations: 0 / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.861e-05/0.004315, allocations: 73.98 kB / 0.9858 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.004329, allocations: 7.953 kB / 0.9858 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.00434, allocations: 7.938 kB / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-06/0.004349, allocations: 8.062 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.00436, allocations: 0 / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-06/0.004361, allocations: 3.938 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.184e-05/0.004403, allocations: 109.1 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.004403, allocations: 0 / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001223/0.004526, allocations: 15.89 kB / 0.986 GB, free: 13.9 MB / 0.948 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 6.892e-05/0.004595, allocations: 95.77 kB / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.755e-05/0.004662, allocations: 16 kB / 0.9861 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.004664, allocations: 0 / 0.9861 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.103e-06/0.004671, allocations: 12.06 kB / 0.9861 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.004778, allocations: 4 kB / 0.9861 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.005015, allocations: 192.2 kB / 0.9863 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.005136, allocations: 75.33 kB / 0.9864 GB, free: 13.44 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.005158, allocations: 8.5 kB / 0.9864 GB, free: 13.43 MB / 0.948 GB Notification: Performance of SimCode: time 2.31e-07/0.005159, allocations: 0 / 0.9864 GB, free: 13.43 MB / 0.948 GB Notification: Performance of Templates: time 0.001413/0.006572, allocations: 0.8092 MB / 0.9872 GB, free: 12.62 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.391794858500361]