Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001064/0.001064, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001068/0.001068, allocations: 163.1 kB / 24.86 MB, free: 8.891 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.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.93/1.93, allocations: 377.9 MB / 0.6247 GB, free: 8.383 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 4 kB / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.982e-05, allocations: 3.625 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.00161/0.00164, allocations: 0.8183 MB / 0.8136 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000125/0.001765, allocations: 48.38 kB / 0.8136 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.001821, allocations: 0 / 0.8136 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/0.001857, allocations: 9.078 kB / 0.8136 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.626e-05/0.001943, allocations: 11.88 kB / 0.8136 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.397e-05/0.001987, allocations: 15.98 kB / 0.8137 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.002089, allocations: 64.38 kB / 0.8137 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.002215, allocations: 30.38 kB / 0.8138 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.286e-05/0.002308, allocations: 43.83 kB / 0.8138 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.00235, allocations: 23.91 kB / 0.8138 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.002366, allocations: 4 kB / 0.8138 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.913e-06/0.002373, allocations: 4 kB / 0.8138 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.002395, allocations: 11.94 kB / 0.8138 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.002417, allocations: 17.27 kB / 0.8139 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.265e-05/0.00251, allocations: 43.83 kB / 0.8139 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.002512, allocations: 0 / 0.8139 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.342e-06/0.002514, allocations: 0 / 0.8139 GB, free: 328 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.002517, allocations: 1.5 kB / 0.8139 GB, free: 328 kB / 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.000363/0.00288, allocations: 412.2 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.002917, allocations: 8.031 kB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.002948, allocations: 12.89 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.003087, allocations: 141 kB / 0.8144 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.003099, allocations: 8.906 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.00311, allocations: 13.47 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.693e-05/0.003207, allocations: 81.5 kB / 0.8145 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.003216, allocations: 4.125 kB / 0.8145 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.003227, allocations: 12.89 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.003234, allocations: 384 / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.003265, allocations: 24.39 kB / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.003726, allocations: 0.7237 MB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.003827, allocations: 269.6 kB / 0.8155 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.003865, allocations: 130.9 kB / 0.8157 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.003895, allocations: 120.3 kB / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.303e-05/0.003958, allocations: 152.6 kB / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.003959, allocations: 4 kB / 0.8159 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.814e-05/0.004017, allocations: 34.58 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.004087, allocations: 174.6 kB / 0.8161 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.004193, allocations: 204.9 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.004201, allocations: 25.7 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.004275, allocations: 178.4 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.004278, allocations: 5.016 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.004309, allocations: 23.38 kB / 0.8166 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.004434, allocations: 0.4894 MB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.004444, allocations: 7.984 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.11e-05/0.004485, allocations: 73.48 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.767e-05/0.004553, allocations: 92.11 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.004555, allocations: 3 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001111/0.004666, allocations: 81.45 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.00468, allocations: 8 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.004686, allocations: 0 / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.004696, allocations: 4.5 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.504e-05/0.004751, allocations: 17.92 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.004757, allocations: 4.156 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.496e-05/0.004782, allocations: 11.89 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-06/0.004786, allocations: 0 / 0.8173 GB, free: 12.54 MB / 0.7761 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.0001048/0.004891, allocations: 287.6 kB / 0.8176 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.004945, allocations: 150.6 kB / 0.8177 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.36e-05/0.004999, allocations: 160.6 kB / 0.8179 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003833/0.005382, allocations: 268.1 kB / 0.8181 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-05/0.005442, allocations: 272 kB / 0.8184 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-05/0.005507, allocations: 280.9 kB / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.005684, allocations: 488.5 kB / 0.8191 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.892e-05/0.005723, allocations: 152.8 kB / 0.8193 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.00576, allocations: 145.7 kB / 0.8194 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.554e-05/0.005826, allocations: 268.1 kB / 0.8197 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.009e-05/0.005896, allocations: 272.9 kB / 0.8199 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.186e-05/0.005958, allocations: 272.1 kB / 0.8202 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.137e-05/0.006019, allocations: 269.3 kB / 0.8205 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.006157, allocations: 459.8 kB / 0.8209 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.00621, allocations: 152.8 kB / 0.821 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.821e-05/0.006278, allocations: 268.9 kB / 0.8213 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.652e-05/0.006334, allocations: 156.8 kB / 0.8214 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.006401, allocations: 268.4 kB / 0.8217 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.006438, allocations: 151.5 kB / 0.8218 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.206e-05/0.00649, allocations: 140.5 kB / 0.822 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.00649, allocations: 0 / 0.822 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001528/0.006643, allocations: 11.95 kB / 0.822 GB, free: 7.57 MB / 0.7761 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.0001301/0.006773, allocations: 214.4 kB / 0.8222 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.177e-05/0.006865, allocations: 42.39 kB / 0.8222 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.006868, allocations: 0 / 0.8222 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.006869, allocations: 0 / 0.8222 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.007174, allocations: 0.7062 MB / 0.8229 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.007404, allocations: 281.6 kB / 0.8232 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.032e-05/0.007435, allocations: 60.28 kB / 0.8233 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.239e-05/0.007467, allocations: 6.953 kB / 0.8233 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.0075, allocations: 70.2 kB / 0.8233 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.007501, allocations: 5.062 kB / 0.8233 GB, free: 6.129 MB / 0.7761 GB Notification: Performance of Templates: time 0.001824/0.009324, allocations: 326.5 kB / 0.8236 GB, free: 5.828 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.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.277015447150916]