Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.001239/0.001239, allocations: 81.86 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.001404/0.001404, allocations: 181 kB / 24.09 MB, free: 416 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.9928/0.9928, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.841/1.841, allocations: 377.9 MB / 0.624 GB, free: 8.434 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.437e-05, allocations: 6.25 kB / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001256/0.00127, allocations: 0.8147 MB / 0.8128 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001094/0.00138, allocations: 39.78 kB / 0.8129 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-05/0.001429, allocations: 4 kB / 0.8129 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.00146, allocations: 8.906 kB / 0.8129 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.978e-05/0.00153, allocations: 11.86 kB / 0.8129 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.96e-05/0.001569, allocations: 19.98 kB / 0.8129 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.398e-05/0.001663, allocations: 60.62 kB / 0.813 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.001763, allocations: 27.91 kB / 0.813 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.388e-05/0.001857, allocations: 49.53 kB / 0.813 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.299e-05/0.00189, allocations: 15.91 kB / 0.813 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.001905, allocations: 4 kB / 0.813 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-06/0.001912, allocations: 8 kB / 0.8131 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.001928, allocations: 9.516 kB / 0.8131 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.001949, allocations: 19.94 kB / 0.8131 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.46e-05/0.002024, allocations: 39.77 kB / 0.8131 GB, free: 372 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.002027, allocations: 4 kB / 0.8131 GB, free: 368 kB / 0.7605 GB Notification: Performance of FrontEnd: time 4.21e-07/0.002027, allocations: 1.75 kB / 0.8131 GB, free: 368 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.00203, allocations: 0 / 0.8131 GB, free: 368 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.0003171/0.002347, allocations: 416.1 kB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.002392, allocations: 12.03 kB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.002429, allocations: 22.08 kB / 0.8136 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.00254, allocations: 132.5 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.002549, allocations: 4.375 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.002558, allocations: 10.22 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.286e-05/0.002651, allocations: 89.44 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.002658, allocations: 4.172 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.002665, allocations: 384 / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.002671, allocations: 4.375 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.027e-05/0.002701, allocations: 30.38 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.003089, allocations: 0.7223 MB / 0.8145 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.129e-05/0.00316, allocations: 265.6 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.00319, allocations: 130.9 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.003217, allocations: 123.2 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.003259, allocations: 152.6 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.003261, allocations: 0.7188 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.018e-05/0.003311, allocations: 41.59 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.003359, allocations: 175.1 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.978e-05/0.003459, allocations: 201.9 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.003468, allocations: 25.7 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.003538, allocations: 174.4 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.00354, allocations: 3.938 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.003566, allocations: 31.36 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.00367, allocations: 0.489 MB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-06/0.003677, allocations: 5.047 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.239e-05/0.003719, allocations: 77.48 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.957e-05/0.003789, allocations: 91.89 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.003792, allocations: 5.125 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.522e-05/0.003887, allocations: 78.8 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.003897, allocations: 4 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.003901, allocations: 4.844 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.003912, allocations: 4 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.878e-05/0.003951, allocations: 13.94 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.003957, allocations: 7.922 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.003979, allocations: 15.89 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.003983, allocations: 4 kB / 0.8166 GB, free: 12.56 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 8.047e-05/0.004063, allocations: 280.4 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.004107, allocations: 148.9 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.004154, allocations: 159 kB / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.246e-05/0.004216, allocations: 272.1 kB / 0.8174 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.188e-05/0.004278, allocations: 272 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.636e-05/0.004334, allocations: 268 kB / 0.8179 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.004507, allocations: 496.5 kB / 0.8184 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-05/0.004541, allocations: 148.8 kB / 0.8185 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.004575, allocations: 148.9 kB / 0.8187 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-05/0.004637, allocations: 277.9 kB / 0.8189 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.419e-05/0.004711, allocations: 264.1 kB / 0.8192 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7e-05/0.004781, allocations: 264.1 kB / 0.8194 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.413e-05/0.004855, allocations: 272 kB / 0.8197 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.005006, allocations: 455.8 kB / 0.8201 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.005049, allocations: 157.3 kB / 0.8203 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.00511, allocations: 268.6 kB / 0.8205 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.411e-05/0.005164, allocations: 150.2 kB / 0.8207 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.005234, allocations: 268.4 kB / 0.8209 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.005282, allocations: 152.8 kB / 0.8211 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.005328, allocations: 139.2 kB / 0.8212 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.005328, allocations: 0.7188 kB / 0.8212 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001511/0.005479, allocations: 19.89 kB / 0.8212 GB, free: 7.605 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 8.988e-05/0.005569, allocations: 214.8 kB / 0.8214 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.175e-05/0.00563, allocations: 35.58 kB / 0.8215 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.005632, allocations: 0 / 0.8215 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.005633, allocations: 4 kB / 0.8215 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.005931, allocations: 0.7109 MB / 0.8222 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002078/0.006139, allocations: 273.7 kB / 0.8224 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.963e-05/0.006169, allocations: 55.36 kB / 0.8225 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.0062, allocations: 11.62 kB / 0.8225 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.006231, allocations: 70.2 kB / 0.8226 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.006232, allocations: 1.125 kB / 0.8226 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of Templates: time 0.00169/0.007922, allocations: 340.3 kB / 0.8229 GB, free: 5.855 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.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.948384230956435]