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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 103.7 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002282/0.002282, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.482/3.482, allocations: 496.1 MB / 0.7801 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002022/0.002022, allocations: 65.22 kB / 1.133 GB, free: 34.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.4868, allocations: 173.7 MB / 1.303 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.003346/0.4902, allocations: 0.825 MB / 1.303 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002112/0.4904, allocations: 39.86 kB / 1.304 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.631e-05/0.4905, allocations: 0 / 1.304 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.05e-05/0.4905, allocations: 7.875 kB / 1.304 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.4907, allocations: 15.86 kB / 1.304 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.641e-05/0.4908, allocations: 15.98 kB / 1.304 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.491, allocations: 63.83 kB / 1.304 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.4912, allocations: 31.92 kB / 1.304 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.004e-05/0.4913, allocations: 31.8 kB / 1.304 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.4913, allocations: 23.86 kB / 1.304 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.4914, allocations: 4 kB / 1.304 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.898e-05/0.4914, allocations: 12 kB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/0.4914, allocations: 19.92 kB / 1.304 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.4915, allocations: 27.81 kB / 1.304 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.4917, allocations: 83.5 kB / 1.304 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4917, allocations: 0 / 1.304 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4917, allocations: 0 / 1.304 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.577e-06/0.4917, allocations: 0 / 1.304 GB, free: 1.406 MB / 0.9981 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.0006723/0.4924, allocations: 383.1 kB / 1.304 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4924, allocations: 8.031 kB / 1.304 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.4925, allocations: 20.77 kB / 1.304 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.4927, allocations: 196.3 kB / 1.304 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.4928, allocations: 4.375 kB / 1.304 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.4928, allocations: 8.375 kB / 1.304 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.493, allocations: 87.89 kB / 1.305 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.493, allocations: 4.172 kB / 1.305 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.493, allocations: 11.94 kB / 1.305 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.493, allocations: 0 / 1.305 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.4931, allocations: 43.91 kB / 1.305 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007238/0.4938, allocations: 436.7 kB / 1.305 GB, free: 76 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.654e-05/0.4939, allocations: 41.25 kB / 1.305 GB, free: 16 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.494, allocations: 13.78 kB / 1.305 GB, free: 16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.494, allocations: 4 kB / 1.305 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.494, allocations: 34.56 kB / 1.305 GB, free: 15.95 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.494, allocations: 0 / 1.305 GB, free: 15.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002175/0.4942, allocations: 61.52 kB / 1.305 GB, free: 15.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.4943, allocations: 77.11 kB / 1.305 GB, free: 15.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.4946, allocations: 154.5 kB / 1.305 GB, free: 15.63 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.4946, allocations: 33.7 kB / 1.305 GB, free: 15.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.4947, allocations: 104 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.4947, allocations: 7.953 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.4948, allocations: 21.67 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002278/0.495, allocations: 318.8 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.495, allocations: 4 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.4951, allocations: 17.72 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.588e-05/0.4951, allocations: 33.64 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4951, allocations: 7.938 kB / 1.306 GB, free: 15.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001188/0.4952, allocations: 57.59 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4953, allocations: 4 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4953, allocations: 3.938 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.4953, allocations: 4 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.4954, allocations: 7.984 kB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.4954, allocations: 8 kB / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.4954, allocations: 4 kB / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.4954, allocations: 3.984 kB / 1.306 GB, free: 14.96 MB / 1.014 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 0.0001151/0.4955, allocations: 113.8 kB / 1.306 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.4956, allocations: 7.953 kB / 1.306 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.4956, allocations: 19.81 kB / 1.306 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4956, allocations: 0 / 1.306 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.4957, allocations: 3.984 kB / 1.306 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4957, allocations: 0 / 1.306 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006181/0.4963, allocations: 474.7 kB / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4963, allocations: 0 / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.4963, allocations: 4 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4963, allocations: 0 / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4963, allocations: 4 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4963, allocations: 0 / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4963, allocations: 3.938 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.4964, allocations: 85.94 kB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.36e-05/0.4965, allocations: 89 kB / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.4965, allocations: 0 / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.029e-05/0.4966, allocations: 0 / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.4966, allocations: 7.984 kB / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.4966, allocations: 0 / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001238/0.4967, allocations: 130.1 kB / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.4967, allocations: 0 / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002188/0.4969, allocations: 8 kB / 1.307 GB, free: 13.91 MB / 1.014 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 0.0002761/0.4972, allocations: 95.25 kB / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.4973, allocations: 15.94 kB / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4973, allocations: 4 kB / 1.307 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-05/0.4974, allocations: 4 kB / 1.307 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.4975, allocations: 12.19 kB / 1.307 GB, free: 13.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.498, allocations: 178.5 kB / 1.307 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.4986, allocations: 0.6924 MB / 1.308 GB, free: 12.85 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.255e-05/0.4986, allocations: 8.422 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.4987, allocations: 15.44 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/0.4987, allocations: 0 / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of Templates: time 0.003851/0.5025, allocations: 459 kB / 1.308 GB, free: 12.38 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.856695212423801]