Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.001181/0.001181, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001242/0.001242, allocations: 169 kB / 24.28 MB, free: 272 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 0.9743/0.9743, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 1.885/1.885, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] 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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.778e-05, allocations: 3.375 kB / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001354/0.001372, allocations: 0.8157 MB / 0.8123 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001095/0.001482, allocations: 41.06 kB / 0.8124 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.001532, allocations: 4 kB / 0.8124 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.001566, allocations: 11.86 kB / 0.8124 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.811e-05/0.001644, allocations: 7.875 kB / 0.8124 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.011e-05/0.001684, allocations: 20.89 kB / 0.8124 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.393e-05/0.001778, allocations: 71.7 kB / 0.8125 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.001899, allocations: 32.56 kB / 0.8125 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.416e-05/0.001973, allocations: 35.91 kB / 0.8125 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.002027, allocations: 21.16 kB / 0.8126 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.002048, allocations: 8 kB / 0.8126 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-06/0.002056, allocations: 8 kB / 0.8126 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.002074, allocations: 13.64 kB / 0.8126 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.002107, allocations: 19.92 kB / 0.8126 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.719e-05/0.002194, allocations: 39.83 kB / 0.8127 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.002198, allocations: 4 kB / 0.8127 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.02e-07/0.002199, allocations: 0.875 kB / 0.8127 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.002203, allocations: 0 / 0.8127 GB, free: 0.918 MB / 0.7605 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.0003619/0.002564, allocations: 413 kB / 0.813 GB, free: 488 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.002601, allocations: 8.031 kB / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.00264, allocations: 13.86 kB / 0.8131 GB, free: 468 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000444/0.003084, allocations: 140.4 kB / 0.8132 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.003096, allocations: 9.125 kB / 0.8132 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.003112, allocations: 8.375 kB / 0.8132 GB, free: 284 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.003237, allocations: 92.81 kB / 0.8133 GB, free: 180 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.003245, allocations: 192 / 0.8133 GB, free: 180 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.003258, allocations: 9.625 kB / 0.8133 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.003268, allocations: 384 / 0.8133 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.094e-05/0.003319, allocations: 27.92 kB / 0.8133 GB, free: 144 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.003754, allocations: 460.5 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.276e-05/0.003806, allocations: 54.12 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.00384, allocations: 23.5 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.003849, allocations: 4 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.003872, allocations: 42.28 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.003873, allocations: 0 / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001446/0.004018, allocations: 55.14 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.004057, allocations: 77.11 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.004163, allocations: 189.8 kB / 0.8142 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.004173, allocations: 27.23 kB / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.004234, allocations: 154.7 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.863e-06/0.004241, allocations: 7.891 kB / 0.8144 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.004269, allocations: 23.38 kB / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.004398, allocations: 0.494 MB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.004411, allocations: 0 / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/0.004431, allocations: 19.38 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.004471, allocations: 32.34 kB / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004473, allocations: 0 / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.889e-05/0.004532, allocations: 55.2 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.004546, allocations: 4 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.00455, allocations: 0 / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.004563, allocations: 4 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.004615, allocations: 8.469 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.004621, allocations: 4.594 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.004637, allocations: 4 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.004641, allocations: 0.5312 kB / 0.815 GB, free: 14.25 MB / 0.7761 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.457e-05/0.004705, allocations: 161.3 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.004725, allocations: 7.938 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.004746, allocations: 8.406 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.004747, allocations: 0 / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.004752, allocations: 4.531 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.004757, allocations: 3.938 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.005028, allocations: 0.5513 MB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.005029, allocations: 0 / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-05/0.00504, allocations: 4 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.005043, allocations: 1.281 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.00505, allocations: 3.938 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.005051, allocations: 0 / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005052, allocations: 0.625 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.003e-05/0.005112, allocations: 92.77 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.005124, allocations: 4 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.005135, allocations: 4.812 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-06/0.005145, allocations: 7.984 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.005158, allocations: 0.875 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-06/0.005159, allocations: 0 / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.005205, allocations: 142.4 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005205, allocations: 1.344 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001247/0.00533, allocations: 15.89 kB / 0.816 GB, free: 13.17 MB / 0.7761 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 7.369e-05/0.005403, allocations: 95.88 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.396e-05/0.005477, allocations: 28.17 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.005479, allocations: 1.875 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.396e-06/0.005487, allocations: 11.69 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001064/0.005594, allocations: 10.41 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.005845, allocations: 167.5 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.005879, allocations: 63.34 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.873e-05/0.005908, allocations: 7.453 kB / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.005931, allocations: 12.5 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.005932, allocations: 0 / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of Templates: time 0.00204/0.007972, allocations: 340.7 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.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.114436303032562]