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.001006/0.001006, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001029/0.001029, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 2.093/2.093, allocations: 429.5 MB / 0.6743 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 177] 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.004e-06/2.004e-06, allocations: 5.031 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.215e-05, allocations: 6.25 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002427/0.002459, allocations: 0.8214 MB / 0.8802 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001553/0.002614, allocations: 39.78 kB / 0.8802 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.002682, allocations: 5.031 kB / 0.8803 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.346e-05/0.002726, allocations: 7.875 kB / 0.8803 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.954e-05/0.002825, allocations: 16.45 kB / 0.8803 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.012e-05/0.002885, allocations: 19.97 kB / 0.8803 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.003009, allocations: 64.56 kB / 0.8804 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.00314, allocations: 23.98 kB / 0.8804 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.003262, allocations: 45.08 kB / 0.8804 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.651e-05/0.003309, allocations: 15.92 kB / 0.8804 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.003328, allocations: 8 kB / 0.8804 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-06/0.003337, allocations: 4.844 kB / 0.8804 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.00336, allocations: 15.91 kB / 0.8805 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.003388, allocations: 16.44 kB / 0.8805 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.003492, allocations: 44.86 kB / 0.8805 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003494, allocations: 0 / 0.8805 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003495, allocations: 0 / 0.8805 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.003499, allocations: 0.6562 kB / 0.8805 GB, free: 4.891 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.0004106/0.00391, allocations: 417 kB / 0.8809 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.003946, allocations: 8.031 kB / 0.8809 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.003982, allocations: 16.83 kB / 0.8809 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.004136, allocations: 137.4 kB / 0.8811 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.004165, allocations: 8.375 kB / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.004177, allocations: 8.031 kB / 0.8811 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.004304, allocations: 83.89 kB / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.004313, allocations: 192 / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.004323, allocations: 4.375 kB / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.004332, allocations: 4.375 kB / 0.8812 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.173e-05/0.004373, allocations: 23.86 kB / 0.8812 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.004914, allocations: 0.7263 MB / 0.8819 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.005018, allocations: 265.4 kB / 0.8822 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.098e-05/0.005059, allocations: 130.9 kB / 0.8823 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.005097, allocations: 119.8 kB / 0.8824 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.04e-05/0.005167, allocations: 157.2 kB / 0.8826 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.005168, allocations: 0 / 0.8826 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.807e-05/0.005236, allocations: 38.34 kB / 0.8826 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.005307, allocations: 171.6 kB / 0.8828 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.005445, allocations: 207.1 kB / 0.883 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.005455, allocations: 25.7 kB / 0.883 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/0.005542, allocations: 172 kB / 0.8831 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-06/0.005545, allocations: 4 kB / 0.8831 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.005588, allocations: 35.3 kB / 0.8832 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.005737, allocations: 0.4884 MB / 0.8837 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.005746, allocations: 4 kB / 0.8837 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.108e-05/0.005797, allocations: 77.48 kB / 0.8837 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.396e-05/0.005881, allocations: 89.36 kB / 0.8838 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.005884, allocations: 0 / 0.8838 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001355/0.006019, allocations: 85.48 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.006034, allocations: 8 kB / 0.8839 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.006042, allocations: 0 / 0.8839 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.006053, allocations: 4 kB / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.006115, allocations: 15.94 kB / 0.8839 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.006118, allocations: 0 / 0.8839 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.006161, allocations: 19.81 kB / 0.8839 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.006169, allocations: 4.25 kB / 0.8839 GB, free: 1.098 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001161/0.006285, allocations: 291.7 kB / 0.8842 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.006355, allocations: 156.8 kB / 0.8844 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/0.006412, allocations: 152.7 kB / 0.8845 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.16e-05/0.006484, allocations: 264.1 kB / 0.8848 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.396e-05/0.006578, allocations: 276 kB / 0.885 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.171e-05/0.006659, allocations: 276 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.006901, allocations: 492.4 kB / 0.8858 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.14e-05/0.006942, allocations: 144.9 kB / 0.8859 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.006993, allocations: 148.9 kB / 0.886 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-05/0.00707, allocations: 268 kB / 0.8863 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8e-05/0.00715, allocations: 276.1 kB / 0.8866 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.776e-05/0.007228, allocations: 272 kB / 0.8868 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-05/0.007304, allocations: 272.1 kB / 0.8871 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.007465, allocations: 451.9 kB / 0.8875 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.007527, allocations: 156.8 kB / 0.8877 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/0.007611, allocations: 268 kB / 0.8879 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.007696, allocations: 144.9 kB / 0.8881 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/0.007779, allocations: 276.3 kB / 0.8883 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/0.007824, allocations: 144.9 kB / 0.8885 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.9e-05/0.007893, allocations: 145.2 kB / 0.8886 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.007893, allocations: 4 kB / 0.8886 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004181/0.008311, allocations: 8 kB / 0.8886 GB, free: 12.13 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001176/0.008428, allocations: 210.4 kB / 0.8888 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.372e-05/0.008512, allocations: 39.58 kB / 0.8889 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.008514, allocations: 0 / 0.8889 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.008517, allocations: 3.938 kB / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.008929, allocations: 0.7067 MB / 0.8895 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.009198, allocations: 269.7 kB / 0.8898 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.25e-05/0.009241, allocations: 63.34 kB / 0.8899 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.026e-05/0.009281, allocations: 4.719 kB / 0.8899 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.009321, allocations: 74.2 kB / 0.8899 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.009322, allocations: 0 / 0.8899 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of Templates: time 0.002175/0.0115, allocations: 342.7 kB / 0.8903 GB, free: 10.36 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.281195977702737]