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.001065/0.001065, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001335/0.001335, allocations: 181 kB / 24.09 MB, free: 420 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.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.762/1.762, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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.914e-06/1.914e-06, allocations: 0 / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.233e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002116/0.002148, allocations: 0.8078 MB / 0.7883 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001431/0.002291, allocations: 48.66 kB / 0.7884 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.901e-05/0.00235, allocations: 0 / 0.7884 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.116e-05/0.002391, allocations: 8.484 kB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.853e-05/0.00248, allocations: 12.56 kB / 0.7884 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.31e-05/0.002533, allocations: 19.97 kB / 0.7884 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.002642, allocations: 64.69 kB / 0.7885 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.002772, allocations: 31.98 kB / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.002891, allocations: 48.47 kB / 0.7886 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.196e-05/0.002933, allocations: 15.92 kB / 0.7886 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.002957, allocations: 9.656 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.002968, allocations: 4 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.002987, allocations: 11.92 kB / 0.7886 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.003019, allocations: 19.92 kB / 0.7886 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.003126, allocations: 37.44 kB / 0.7887 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.00313, allocations: 3.984 kB / 0.7887 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.00313, allocations: 0 / 0.7887 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.003134, allocations: 0 / 0.7887 GB, free: 11.09 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.0004099/0.003544, allocations: 415.7 kB / 0.7891 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.003589, allocations: 8.031 kB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.003628, allocations: 12.89 kB / 0.7891 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.003794, allocations: 140.4 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.003808, allocations: 8.375 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.00382, allocations: 8.312 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.003959, allocations: 79.48 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.00397, allocations: 4.125 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.003981, allocations: 8.359 kB / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.00399, allocations: 9.078 kB / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.137e-05/0.004032, allocations: 19.92 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.004574, allocations: 0.723 MB / 0.7901 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.004681, allocations: 274.1 kB / 0.7903 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.004722, allocations: 127.6 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.004755, allocations: 123.2 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/0.004811, allocations: 153.5 kB / 0.7907 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 2.074e-06/0.004813, allocations: 0 / 0.7907 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.641e-05/0.004899, allocations: 37.64 kB / 0.7907 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.00496, allocations: 171.1 kB / 0.7909 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.005104, allocations: 204.2 kB / 0.7911 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.005116, allocations: 25.7 kB / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.318e-05/0.005209, allocations: 182.4 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.005212, allocations: 0 / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.00525, allocations: 28.61 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.005404, allocations: 0.4884 MB / 0.7918 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.005418, allocations: 7.984 kB / 0.7918 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.254e-05/0.00547, allocations: 70.09 kB / 0.7919 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.798e-05/0.005558, allocations: 96.06 kB / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.005561, allocations: 1.344 kB / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001481/0.005709, allocations: 88.52 kB / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.005726, allocations: 8 kB / 0.7921 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.005732, allocations: 0 / 0.7921 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.005747, allocations: 4 kB / 0.7921 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-05/0.005814, allocations: 15.98 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.005818, allocations: 0 / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.005855, allocations: 7.938 kB / 0.7921 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.005862, allocations: 5.312 kB / 0.7921 GB, free: 7.309 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.0001138/0.005975, allocations: 287.6 kB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.006049, allocations: 152.8 kB / 0.7925 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.818e-05/0.006117, allocations: 161.2 kB / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.602e-05/0.006193, allocations: 264.1 kB / 0.7929 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.733e-05/0.006271, allocations: 272.6 kB / 0.7932 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-05/0.006357, allocations: 280.9 kB / 0.7934 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.006595, allocations: 488.5 kB / 0.7939 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-05/0.00664, allocations: 148.8 kB / 0.7941 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.006687, allocations: 153.9 kB / 0.7942 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.217e-05/0.006769, allocations: 264.1 kB / 0.7945 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/0.006846, allocations: 269 kB / 0.7947 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.576e-05/0.006922, allocations: 272.2 kB / 0.795 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-05/0.006992, allocations: 272 kB / 0.7952 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.007156, allocations: 457.4 kB / 0.7957 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.007223, allocations: 152.8 kB / 0.7958 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.773e-05/0.007311, allocations: 264.1 kB / 0.7961 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.007397, allocations: 148.8 kB / 0.7962 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/0.00748, allocations: 276.9 kB / 0.7965 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.007522, allocations: 148.8 kB / 0.7966 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.357e-05/0.007585, allocations: 141.7 kB / 0.7967 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007585, allocations: 0 / 0.7967 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002884/0.007874, allocations: 12.89 kB / 0.7968 GB, free: 2.348 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.0001482/0.008022, allocations: 219.6 kB / 0.797 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.616e-05/0.008118, allocations: 40.42 kB / 0.797 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.00812, allocations: 0 / 0.797 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.008122, allocations: 2.219 kB / 0.797 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.008566, allocations: 0.7062 MB / 0.7977 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.008909, allocations: 281.4 kB / 0.798 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.362e-05/0.008953, allocations: 59.34 kB / 0.798 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.622e-05/0.008999, allocations: 6.734 kB / 0.798 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.00904, allocations: 71.27 kB / 0.7981 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.009041, allocations: 0 / 0.7981 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of Templates: time 0.002321/0.01136, allocations: 342 kB / 0.7984 GB, free: 0.5898 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: 4.913946583867073]