Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001032/0.001032, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001742/0.001742, allocations: 165.8 kB / 24.86 MB, free: 9.27 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.958/0.958, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.907/1.907, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 177] 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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.607e-05, allocations: 3.219 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001471/0.001497, allocations: 0.8159 MB / 0.7891 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001125/0.00161, allocations: 43.78 kB / 0.7891 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.001656, allocations: 4.562 kB / 0.7892 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.001687, allocations: 7.875 kB / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.539e-05/0.001763, allocations: 16.86 kB / 0.7892 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.929e-05/0.001802, allocations: 15.98 kB / 0.7892 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.654e-05/0.001888, allocations: 67.83 kB / 0.7893 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.001992, allocations: 25.89 kB / 0.7893 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.205e-05/0.002084, allocations: 47.83 kB / 0.7893 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.736e-05/0.002121, allocations: 15.92 kB / 0.7893 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.002137, allocations: 4 kB / 0.7893 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-06/0.002143, allocations: 4.688 kB / 0.7894 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.002165, allocations: 15.92 kB / 0.7894 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.002189, allocations: 20.98 kB / 0.7894 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.06e-05/0.002269, allocations: 43.77 kB / 0.7894 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.002272, allocations: 0 / 0.7894 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.91e-07/0.002273, allocations: 1.531 kB / 0.7894 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.002277, allocations: 0 / 0.7894 GB, free: 11.05 MB / 0.7448 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.0003212/0.002598, allocations: 412.2 kB / 0.7898 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.002635, allocations: 12.03 kB / 0.7898 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.002663, allocations: 14.48 kB / 0.7898 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.002786, allocations: 140.4 kB / 0.79 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.002796, allocations: 384 / 0.79 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.002807, allocations: 12.38 kB / 0.79 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.832e-05/0.002906, allocations: 79.34 kB / 0.7901 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.002912, allocations: 192 / 0.7901 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.002919, allocations: 4.375 kB / 0.7901 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.002924, allocations: 384 / 0.7901 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.033e-05/0.002955, allocations: 27.86 kB / 0.7901 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.00336, allocations: 0.7326 MB / 0.7908 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.092e-05/0.003441, allocations: 265.4 kB / 0.7911 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.003472, allocations: 126.9 kB / 0.7912 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.003496, allocations: 119.2 kB / 0.7913 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.003539, allocations: 164.6 kB / 0.7915 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.00354, allocations: 0.625 kB / 0.7915 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.726e-05/0.003587, allocations: 33.66 kB / 0.7915 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.003641, allocations: 172.2 kB / 0.7917 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.607e-05/0.003737, allocations: 203.5 kB / 0.7919 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.003746, allocations: 25.7 kB / 0.7919 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.003813, allocations: 178.4 kB / 0.792 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.003815, allocations: 1.75 kB / 0.792 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.003844, allocations: 35.34 kB / 0.7921 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.003954, allocations: 492.1 kB / 0.7926 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-06/0.003962, allocations: 4 kB / 0.7926 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.004, allocations: 81.41 kB / 0.7926 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.911e-05/0.00406, allocations: 84.91 kB / 0.7927 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.004061, allocations: 0 / 0.7927 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001039/0.004165, allocations: 91.59 kB / 0.7928 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.004176, allocations: 4 kB / 0.7928 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.004182, allocations: 4.531 kB / 0.7928 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.004191, allocations: 0 / 0.7928 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.85e-05/0.004239, allocations: 16.66 kB / 0.7928 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.004244, allocations: 4 kB / 0.7928 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.004267, allocations: 8.469 kB / 0.7928 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.004273, allocations: 5.594 kB / 0.7928 GB, free: 7.281 MB / 0.7448 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.0001152/0.004388, allocations: 287.7 kB / 0.7931 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.00445, allocations: 156.8 kB / 0.7933 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.004512, allocations: 156.7 kB / 0.7934 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.534e-05/0.004577, allocations: 272.5 kB / 0.7937 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.965e-05/0.004667, allocations: 273.4 kB / 0.7939 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.714e-05/0.004734, allocations: 272 kB / 0.7942 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.004912, allocations: 496.4 kB / 0.7947 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.825e-05/0.005001, allocations: 144.9 kB / 0.7948 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.005037, allocations: 150 kB / 0.795 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.505e-05/0.005102, allocations: 264.1 kB / 0.7952 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.078e-05/0.005173, allocations: 280 kB / 0.7955 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.218e-05/0.005245, allocations: 269.4 kB / 0.7957 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.906e-05/0.005314, allocations: 264.1 kB / 0.796 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.005465, allocations: 451.9 kB / 0.7964 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.005631, allocations: 161.7 kB / 0.7966 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-05/0.005708, allocations: 272.1 kB / 0.7968 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.077e-05/0.005769, allocations: 148.9 kB / 0.797 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.005838, allocations: 269.2 kB / 0.7972 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.885e-05/0.005877, allocations: 144.9 kB / 0.7974 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.699e-05/0.005934, allocations: 146.5 kB / 0.7975 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005934, allocations: 0 / 0.7975 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001542/0.006088, allocations: 7.953 kB / 0.7975 GB, free: 2.32 MB / 0.7448 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.0001238/0.006212, allocations: 215.7 kB / 0.7977 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.119e-05/0.006303, allocations: 49.19 kB / 0.7978 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.006305, allocations: 0 / 0.7978 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.006306, allocations: 0 / 0.7978 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.00665, allocations: 0.707 MB / 0.7985 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.006924, allocations: 277.5 kB / 0.7987 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.181e-05/0.006966, allocations: 62.81 kB / 0.7988 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.861e-05/0.007005, allocations: 8.719 kB / 0.7988 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.00705, allocations: 74.2 kB / 0.7989 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.007051, allocations: 0 / 0.7989 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of Templates: time 0.001943/0.008994, allocations: 335 kB / 0.7992 GB, free: 0.5664 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.2490669237449765]