Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008004/0.0008004, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002089, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007686/0.0007686, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.001864, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9635/0.9635, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09768/1.061, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.378/2.378, allocations: 447.1 MB / 0.675 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2358/2.614, allocations: 146 MB / 0.8176 GB, free: 3.844 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.541e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002165/0.002191, allocations: 0.8515 MB / 0.8198 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001301/0.002321, allocations: 51.72 kB / 0.8198 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.002369, allocations: 0 / 0.8198 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.806e-05/0.002407, allocations: 7.875 kB / 0.8198 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.67e-05/0.002464, allocations: 19.8 kB / 0.8199 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.301e-05/0.002507, allocations: 19.98 kB / 0.8199 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.002616, allocations: 59.84 kB / 0.8199 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.002737, allocations: 43.84 kB / 0.82 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.002844, allocations: 43.89 kB / 0.82 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.002893, allocations: 15.92 kB / 0.82 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.002915, allocations: 4 kB / 0.82 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.002926, allocations: 4 kB / 0.82 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.002951, allocations: 11.94 kB / 0.82 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.002977, allocations: 15.94 kB / 0.8201 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.00309, allocations: 47.66 kB / 0.8201 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.39e-05/0.003104, allocations: 4 kB / 0.8201 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003105, allocations: 0 / 0.8201 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.00312, allocations: 0 / 0.8201 GB, free: 1.297 MB / 0.7917 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.0004509/0.003571, allocations: 288.3 kB / 0.8204 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.003618, allocations: 12.03 kB / 0.8204 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.00366, allocations: 8.938 kB / 0.8204 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.003838, allocations: 133.7 kB / 0.8205 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.003853, allocations: 12.28 kB / 0.8205 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.003869, allocations: 4.375 kB / 0.8206 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.004, allocations: 89.41 kB / 0.8206 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.004009, allocations: 4.188 kB / 0.8206 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.004017, allocations: 384 / 0.8206 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.004025, allocations: 4.375 kB / 0.8206 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.46e-05/0.00407, allocations: 31.8 kB / 0.8207 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.004517, allocations: 0.4972 MB / 0.8212 GB, free: 132 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.83e-05/0.004606, allocations: 169.1 kB / 0.8213 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.004631, allocations: 80.14 kB / 0.8214 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.004651, allocations: 75.28 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.004692, allocations: 105.8 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.004693, allocations: 0 / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.205e-05/0.004765, allocations: 41.72 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.004813, allocations: 126.7 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.00493, allocations: 149.7 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.00494, allocations: 25.7 kB / 0.8219 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.005008, allocations: 123.8 kB / 0.822 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-06/0.005013, allocations: 4 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.005053, allocations: 29.66 kB / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.858e-05/0.005151, allocations: 318.8 kB / 0.8224 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.005163, allocations: 4 kB / 0.8224 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.005206, allocations: 58.78 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.077e-05/0.005287, allocations: 74.73 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.00529, allocations: 0 / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001374/0.005427, allocations: 77.58 kB / 0.8226 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.005446, allocations: 8 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.005452, allocations: 0 / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.00547, allocations: 4 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.005538, allocations: 19.92 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.005543, allocations: 4.156 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.005585, allocations: 15.88 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.005592, allocations: 7.984 kB / 0.8226 GB, free: 14.5 MB / 0.8073 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.731e-05/0.005679, allocations: 181.1 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.005739, allocations: 117.1 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.271e-05/0.005791, allocations: 124.8 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.273e-05/0.005844, allocations: 176.3 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.257e-05/0.005897, allocations: 184.2 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.037e-05/0.005947, allocations: 176.3 kB / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.006134, allocations: 333.3 kB / 0.8238 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-05/0.006168, allocations: 113 kB / 0.824 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.006202, allocations: 101 kB / 0.8241 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.006253, allocations: 116.9 kB / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.185e-05/0.006305, allocations: 176.3 kB / 0.8243 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-05/0.006361, allocations: 188.2 kB / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.202e-05/0.006413, allocations: 180.3 kB / 0.8247 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.257e-05/0.006466, allocations: 180.2 kB / 0.8249 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.006593, allocations: 307.8 kB / 0.8251 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/0.00666, allocations: 184.2 kB / 0.8253 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.006729, allocations: 105 kB / 0.8254 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.006784, allocations: 180.2 kB / 0.8256 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.006817, allocations: 105 kB / 0.8257 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.895e-05/0.006856, allocations: 28.83 kB / 0.8257 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.006856, allocations: 0 / 0.8257 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002061/0.007062, allocations: 15.95 kB / 0.8257 GB, free: 11.12 MB / 0.8073 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.0004197/0.007482, allocations: 155.7 kB / 0.8259 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.095e-05/0.007573, allocations: 36.7 kB / 0.8259 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.007579, allocations: 0 / 0.8259 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.007582, allocations: 0 / 0.8259 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.007868, allocations: 475.6 kB / 0.8264 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.008164, allocations: 232.8 kB / 0.8266 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.978e-05/0.008204, allocations: 59.34 kB / 0.8267 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.562e-05/0.00825, allocations: 8.734 kB / 0.8267 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.008291, allocations: 51.38 kB / 0.8267 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.008292, allocations: 0 / 0.8267 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of Templates: time 0.002273/0.01056, allocations: 267.5 kB / 0.827 GB, free: 9.801 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.144393182359636]