Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001023/0.001023, allocations: 93.06 kB / 19.65 MB, free: 280 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.00119/0.00119, allocations: 165 kB / 23.02 MB, free: 1.555 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.9844/0.9844, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.179/2.179, allocations: 429.5 MB / 0.6733 GB, free: 4.055 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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.233e-05, allocations: 9.266 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002523/0.002555, allocations: 0.825 MB / 0.879 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001608/0.002716, allocations: 43.78 kB / 0.879 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.002775, allocations: 1.938 kB / 0.879 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.597e-05/0.002821, allocations: 11.88 kB / 0.879 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.039e-05/0.002911, allocations: 11.86 kB / 0.8791 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.633e-05/0.002968, allocations: 18.3 kB / 0.8791 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.00309, allocations: 63.83 kB / 0.8791 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.003233, allocations: 23.98 kB / 0.8792 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.103e-05/0.003324, allocations: 39.84 kB / 0.8792 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.003386, allocations: 23.89 kB / 0.8792 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.003412, allocations: 8 kB / 0.8792 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-06/0.003422, allocations: 6.219 kB / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.003446, allocations: 15.94 kB / 0.8792 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.003481, allocations: 19.91 kB / 0.8793 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.003608, allocations: 47.77 kB / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.003611, allocations: 0 / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.523e-06/0.003613, allocations: 0 / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.003619, allocations: 0.7188 kB / 0.8793 GB, free: 5.168 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.000468/0.004087, allocations: 406 kB / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.004141, allocations: 12.02 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.004194, allocations: 16.89 kB / 0.8797 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.0044, allocations: 136.4 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.004416, allocations: 9.688 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.004437, allocations: 4.375 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.0046, allocations: 85.61 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.004612, allocations: 192 / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.004626, allocations: 9.953 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.004637, allocations: 4.375 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.307e-05/0.0047, allocations: 23.86 kB / 0.88 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.005254, allocations: 466.3 kB / 0.8804 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.616e-05/0.00532, allocations: 62.31 kB / 0.8805 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.005361, allocations: 23.42 kB / 0.8805 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.005369, allocations: 0 / 0.8805 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.005397, allocations: 41.33 kB / 0.8806 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.005398, allocations: 0 / 0.8806 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001712/0.005569, allocations: 41.64 kB / 0.8806 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.005615, allocations: 81.11 kB / 0.8807 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.005754, allocations: 186.1 kB / 0.8809 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.005768, allocations: 29.7 kB / 0.8809 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.005856, allocations: 158.7 kB / 0.881 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.005867, allocations: 11.89 kB / 0.881 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.00591, allocations: 31.3 kB / 0.8811 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.0061, allocations: 492.1 kB / 0.8815 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.006122, allocations: 4 kB / 0.8815 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.006148, allocations: 27.36 kB / 0.8816 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.006187, allocations: 23.38 kB / 0.8816 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.006189, allocations: 0 / 0.8816 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.734e-05/0.006267, allocations: 57.58 kB / 0.8816 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.006287, allocations: 8 kB / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.006291, allocations: 0 / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.006307, allocations: 0 / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.656e-05/0.006374, allocations: 8 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.006381, allocations: 3.938 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.0064, allocations: 8 kB / 0.8817 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.006404, allocations: 0 / 0.8817 GB, free: 2.496 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 6.854e-05/0.006473, allocations: 156.6 kB / 0.8818 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.006498, allocations: 15.95 kB / 0.8818 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.006528, allocations: 11.45 kB / 0.8818 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.00653, allocations: 0 / 0.8818 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.006534, allocations: 4 kB / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.006538, allocations: 3.938 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.006848, allocations: 0.5383 MB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.00685, allocations: 0 / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.571e-05/0.006866, allocations: 4 kB / 0.8824 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.006869, allocations: 0 / 0.8824 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.006876, allocations: 3.938 kB / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.006878, allocations: 8.062 kB / 0.8824 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.006879, allocations: 0 / 0.8824 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.294e-05/0.006952, allocations: 88.08 kB / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.006972, allocations: 11.89 kB / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.006983, allocations: 3.938 kB / 0.8825 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.079e-05/0.006994, allocations: 4 kB / 0.8825 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.007007, allocations: 3.938 kB / 0.8825 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.007011, allocations: 4 kB / 0.8825 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.34e-05/0.007064, allocations: 146.5 kB / 0.8826 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007064, allocations: 0 / 0.8826 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001301/0.007194, allocations: 11.97 kB / 0.8827 GB, free: 1.398 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 9.703e-05/0.007291, allocations: 99.23 kB / 0.8828 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.989e-05/0.007371, allocations: 15.69 kB / 0.8828 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.007374, allocations: 4 kB / 0.8828 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.043e-05/0.007384, allocations: 15.62 kB / 0.8828 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.007504, allocations: 4 kB / 0.8828 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.00779, allocations: 166.9 kB / 0.883 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.563e-05/0.007825, allocations: 67.34 kB / 0.883 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.476e-05/0.00785, allocations: 0 / 0.883 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.007875, allocations: 12.5 kB / 0.883 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/0.007876, allocations: 0 / 0.883 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of Templates: time 0.002153/0.01003, allocations: 355.4 kB / 0.8834 GB, free: 0.5977 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_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.600100500043482]