Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001474/0.001474, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001628/0.001628, allocations: 165.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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 2.887/2.887, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.086e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002145/0.002176, allocations: 0.7962 MB / 0.9822 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001392/0.002315, allocations: 39.78 kB / 0.9823 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.002379, allocations: 4 kB / 0.9823 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.812e-05/0.002427, allocations: 11.86 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.002532, allocations: 7.875 kB / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.992e-05/0.002592, allocations: 19.98 kB / 0.9823 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.002732, allocations: 63.81 kB / 0.9824 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.0029, allocations: 31.92 kB / 0.9824 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.003035, allocations: 47.83 kB / 0.9824 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.00309, allocations: 19.86 kB / 0.9824 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.003119, allocations: 8 kB / 0.9825 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.003131, allocations: 4 kB / 0.9825 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.003161, allocations: 15.92 kB / 0.9825 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.003203, allocations: 19.92 kB / 0.9825 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.00335, allocations: 75.69 kB / 0.9826 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003352, allocations: 0 / 0.9826 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003353, allocations: 4 kB / 0.9826 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.003358, allocations: 0 / 0.9826 GB, free: 10.81 MB / 0.9356 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.0006308/0.003989, allocations: 302 kB / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.004039, allocations: 16.02 kB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.004083, allocations: 12.84 kB / 0.9829 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.004305, allocations: 129.7 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.004319, allocations: 4.375 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.004335, allocations: 8.375 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.004541, allocations: 91.89 kB / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.00455, allocations: 192 / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.004561, allocations: 384 / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.004568, allocations: 12.3 kB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.305e-05/0.004661, allocations: 47.86 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006689/0.00533, allocations: 352.5 kB / 0.9835 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.592e-05/0.005406, allocations: 41.19 kB / 0.9835 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.005449, allocations: 25.83 kB / 0.9836 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.005458, allocations: 0 / 0.9836 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.005489, allocations: 30.56 kB / 0.9836 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.00549, allocations: 0 / 0.9836 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002033/0.005694, allocations: 53.78 kB / 0.9836 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.00576, allocations: 81.11 kB / 0.9837 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.005907, allocations: 137.8 kB / 0.9839 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.005926, allocations: 25.7 kB / 0.9839 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/0.006016, allocations: 107.9 kB / 0.984 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.838e-06/0.006026, allocations: 4 kB / 0.984 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.006063, allocations: 17.67 kB / 0.984 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.006229, allocations: 322.8 kB / 0.9843 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.006246, allocations: 0 / 0.9843 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.00627, allocations: 21.72 kB / 0.9843 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.106e-05/0.006321, allocations: 33.7 kB / 0.9844 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.006325, allocations: 4 kB / 0.9844 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.727e-05/0.006422, allocations: 53.64 kB / 0.9844 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.006439, allocations: 8 kB / 0.9844 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.006443, allocations: 3.938 kB / 0.9844 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.006458, allocations: 0 / 0.9844 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.006529, allocations: 7.984 kB / 0.9844 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.006541, allocations: 7.938 kB / 0.9844 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.006569, allocations: 7.891 kB / 0.9845 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.006574, allocations: 4.062 kB / 0.9845 GB, free: 8.66 MB / 0.9356 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.0001206/0.006694, allocations: 113.8 kB / 0.9846 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.006734, allocations: 4 kB / 0.9846 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.006756, allocations: 7.469 kB / 0.9846 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.006759, allocations: 4 kB / 0.9846 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.006763, allocations: 0 / 0.9846 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.00677, allocations: 7.922 kB / 0.9846 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.007192, allocations: 410.5 kB / 0.985 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007192, allocations: 0 / 0.985 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.007213, allocations: 12 kB / 0.985 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.007219, allocations: 3.984 kB / 0.985 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.00723, allocations: 3.938 kB / 0.985 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007231, allocations: 0 / 0.985 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.007237, allocations: 7.938 kB / 0.985 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.264e-05/0.007329, allocations: 66 kB / 0.9851 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.00735, allocations: 7.938 kB / 0.9851 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.007365, allocations: 7.938 kB / 0.9851 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.69e-05/0.007382, allocations: 0 / 0.9851 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.007395, allocations: 0 / 0.9851 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-06/0.007397, allocations: 4.031 kB / 0.9851 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.531e-05/0.007472, allocations: 106.1 kB / 0.9852 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.007472, allocations: 0 / 0.9852 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001912/0.007664, allocations: 11.95 kB / 0.9852 GB, free: 7.828 MB / 0.9356 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.0001074/0.007771, allocations: 91.78 kB / 0.9853 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.562e-05/0.007857, allocations: 23.92 kB / 0.9853 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.007858, allocations: 0 / 0.9853 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.228e-05/0.007871, allocations: 8 kB / 0.9853 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.008024, allocations: 8.25 kB / 0.9853 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.008383, allocations: 174.5 kB / 0.9855 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.785e-05/0.008461, allocations: 71.33 kB / 0.9856 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.414e-05/0.008485, allocations: 4 kB / 0.9856 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.008517, allocations: 12.5 kB / 0.9856 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of SimCode: time 3.8e-07/0.008518, allocations: 0 / 0.9856 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of Templates: time 0.002954/0.01147, allocations: 344.8 kB / 0.9859 GB, free: 7.039 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.298827148973942]