Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001705/0.001705, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001708/0.001708, allocations: 165 kB / 23.82 MB, free: 0.7461 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 1.027/1.027, allocations: 177.1 MB / 204.2 MB, free: 5.586 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.899/1.899, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.68e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002104/0.002131, allocations: 0.8224 MB / 0.8124 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001484/0.002279, allocations: 48.56 kB / 0.8124 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.002338, allocations: 0.9688 kB / 0.8124 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.085e-05/0.002389, allocations: 11.86 kB / 0.8124 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.002493, allocations: 11.88 kB / 0.8124 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.721e-05/0.00255, allocations: 21.47 kB / 0.8124 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.002676, allocations: 63.78 kB / 0.8125 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.002827, allocations: 27.97 kB / 0.8125 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.74e-05/0.002915, allocations: 35.91 kB / 0.8126 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.002984, allocations: 25.62 kB / 0.8126 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.003009, allocations: 4 kB / 0.8126 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.003021, allocations: 8 kB / 0.8126 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.003046, allocations: 11.92 kB / 0.8126 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.003086, allocations: 25.3 kB / 0.8126 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003206, allocations: 39.83 kB / 0.8127 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.003208, allocations: 0 / 0.8127 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003209, allocations: 4 kB / 0.8127 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.003214, allocations: 1.75 kB / 0.8127 GB, free: 0.5781 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.0004903/0.003704, allocations: 408.3 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.003749, allocations: 8.031 kB / 0.8131 GB, free: 136 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.003803, allocations: 20.83 kB / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.004015, allocations: 137.8 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.004028, allocations: 384 / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.004049, allocations: 12.38 kB / 0.8132 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.004205, allocations: 94.02 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.004217, allocations: 192 / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.004233, allocations: 8.375 kB / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.004243, allocations: 384 / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.836e-05/0.004311, allocations: 27.91 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006775/0.004989, allocations: 456.8 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.704e-05/0.005056, allocations: 62.11 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.005095, allocations: 19.5 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.005107, allocations: 12.02 kB / 0.8139 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.005134, allocations: 33.39 kB / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.005136, allocations: 0.7188 kB / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001828/0.005318, allocations: 55.77 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.00536, allocations: 77.11 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.005506, allocations: 189.8 kB / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.005519, allocations: 25.7 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/0.005611, allocations: 158.7 kB / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.005622, allocations: 8.547 kB / 0.8144 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.005662, allocations: 24.62 kB / 0.8144 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.005798, allocations: 496.1 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.005817, allocations: 3.984 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.005845, allocations: 23.38 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.561e-05/0.005891, allocations: 28.47 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005893, allocations: 1.156 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.8e-05/0.005981, allocations: 53.64 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.005996, allocations: 4.531 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.006001, allocations: 3.938 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.006022, allocations: 4.812 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.006089, allocations: 4 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.006096, allocations: 4.781 kB / 0.815 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.658e-05/0.006123, allocations: 8 kB / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.006128, allocations: 1.75 kB / 0.815 GB, free: 13.91 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 7.552e-05/0.006203, allocations: 152.6 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.006245, allocations: 7.984 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.006275, allocations: 15.41 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.006277, allocations: 0.8125 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.00628, allocations: 0 / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.006284, allocations: 6.219 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.006684, allocations: 0.546 MB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.006688, allocations: 4 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.006709, allocations: 4 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.006712, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.00672, allocations: 6 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.006722, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006723, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.15e-05/0.006815, allocations: 92.02 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.006835, allocations: 4 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.006849, allocations: 4.438 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.789e-05/0.006866, allocations: 4.531 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.006886, allocations: 7.984 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.006888, allocations: 1.688 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.788e-05/0.006956, allocations: 142.3 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.006956, allocations: 0 / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002301/0.007186, allocations: 15.89 kB / 0.816 GB, free: 12.83 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 9.423e-05/0.00728, allocations: 97.09 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.578e-05/0.007376, allocations: 19.62 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.007379, allocations: 0 / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.007394, allocations: 20.36 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.007563, allocations: 4.656 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.007902, allocations: 167.1 kB / 0.8163 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.849e-05/0.00795, allocations: 66.88 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.386e-05/0.007984, allocations: 3.984 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.008012, allocations: 12.5 kB / 0.8164 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.008013, allocations: 0 / 0.8164 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of Templates: time 0.002605/0.01062, allocations: 344.5 kB / 0.8167 GB, free: 12.05 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.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.326070563867688]