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.0009271/0.0009271, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.001975, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007178/0.0007178, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001743, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9441/0.9441, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09786/1.042, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.501/2.501, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2758/2.777, allocations: 145.9 MB / 0.817 GB, free: 4.203 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.883e-06/1.883e-06, allocations: 0 / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.561e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001899/0.001924, allocations: 0.8686 MB / 0.8192 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000117/0.002041, allocations: 43.72 kB / 0.8192 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.002093, allocations: 4 kB / 0.8192 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.002123, allocations: 7.875 kB / 0.8192 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.585e-05/0.002169, allocations: 15.86 kB / 0.8192 GB, free: 1.945 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.41e-05/0.002213, allocations: 19.98 kB / 0.8192 GB, free: 1.926 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.002317, allocations: 59.8 kB / 0.8193 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.002435, allocations: 39.89 kB / 0.8193 GB, free: 1.828 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.564e-05/0.002531, allocations: 43.91 kB / 0.8194 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.04e-05/0.002581, allocations: 15.91 kB / 0.8194 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.002603, allocations: 4 kB / 0.8194 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.002614, allocations: 8 kB / 0.8194 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.002633, allocations: 7.938 kB / 0.8194 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.002669, allocations: 15.94 kB / 0.8194 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.002782, allocations: 47.67 kB / 0.8195 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-05/0.002801, allocations: 4 kB / 0.8195 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002801, allocations: 0 / 0.8195 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.055e-05/0.002822, allocations: 3.984 kB / 0.8195 GB, free: 1.68 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.0004342/0.003256, allocations: 292.3 kB / 0.8198 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.003295, allocations: 8.625 kB / 0.8198 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.003331, allocations: 12.92 kB / 0.8198 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.003487, allocations: 125.7 kB / 0.8199 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.003499, allocations: 12.22 kB / 0.8199 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.003511, allocations: 8.375 kB / 0.8199 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.003626, allocations: 87.92 kB / 0.82 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.003635, allocations: 192 / 0.82 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.003644, allocations: 384 / 0.82 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.003649, allocations: 4.375 kB / 0.82 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.104e-05/0.00369, allocations: 23.86 kB / 0.82 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.004131, allocations: 0.5011 MB / 0.8205 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.004499, allocations: 169.1 kB / 0.8207 GB, free: 356 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.004527, allocations: 80.14 kB / 0.8208 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.004549, allocations: 75.28 kB / 0.8208 GB, free: 196 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.004599, allocations: 117.9 kB / 0.8209 GB, free: 68 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.0046, allocations: 4 kB / 0.8209 GB, free: 64 kB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 6.927e-05/0.004669, allocations: 29.69 kB / 0.821 GB, free: 28 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.214e-05/0.004742, allocations: 130.7 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.004847, allocations: 138.6 kB / 0.8212 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.004857, allocations: 29.7 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.004918, allocations: 127.7 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.583e-06/0.004925, allocations: 0 / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.004962, allocations: 29.66 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.005065, allocations: 326.8 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-06/0.005074, allocations: 0 / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.231e-05/0.005116, allocations: 58.81 kB / 0.8218 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.947e-05/0.005185, allocations: 70.83 kB / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.005188, allocations: 0 / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001159/0.005304, allocations: 77.48 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.005316, allocations: 8 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.005322, allocations: 0 / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.005333, allocations: 4 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.005396, allocations: 15.94 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.005402, allocations: 7.984 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.005438, allocations: 11.88 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.005444, allocations: 4 kB / 0.822 GB, free: 14.9 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 7.672e-05/0.005521, allocations: 193.4 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.005569, allocations: 104.9 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.005614, allocations: 116.8 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.032e-05/0.005664, allocations: 184.2 kB / 0.8225 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-05/0.005712, allocations: 180.3 kB / 0.8227 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.862e-05/0.00576, allocations: 176.3 kB / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.005931, allocations: 337.3 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/0.005959, allocations: 105 kB / 0.8233 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.005989, allocations: 104.9 kB / 0.8234 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.006038, allocations: 112.9 kB / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.627e-05/0.006084, allocations: 176.3 kB / 0.8237 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.006134, allocations: 192.2 kB / 0.8239 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.834e-05/0.006182, allocations: 180.2 kB / 0.824 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.826e-05/0.006231, allocations: 184.2 kB / 0.8242 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.006335, allocations: 299.8 kB / 0.8245 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.006391, allocations: 188.2 kB / 0.8247 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.357e-05/0.006455, allocations: 105 kB / 0.8248 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.006507, allocations: 188.2 kB / 0.825 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.006535, allocations: 105 kB / 0.8251 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.84e-05/0.006563, allocations: 31.52 kB / 0.8251 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006564, allocations: 0 / 0.8251 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000219/0.006783, allocations: 11.95 kB / 0.8251 GB, free: 11.52 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 9.5e-05/0.006878, allocations: 163.7 kB / 0.8253 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.618e-05/0.006944, allocations: 28.73 kB / 0.8253 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.006949, allocations: 0 / 0.8253 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.00695, allocations: 0 / 0.8253 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.007204, allocations: 471.6 kB / 0.8257 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.00744, allocations: 220.4 kB / 0.8259 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.849e-05/0.007479, allocations: 59.84 kB / 0.826 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.007514, allocations: 12.72 kB / 0.826 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.007546, allocations: 55.38 kB / 0.8261 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of SimCode: time 4.21e-07/0.007547, allocations: 0 / 0.8261 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of Templates: time 0.002016/0.009562, allocations: 340.7 kB / 0.8264 GB, free: 10.13 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.386120934970677]