Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001305/0.001305, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.001312/0.001312, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.492/1.492, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.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.056/3.056, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 75.88 kB / 1.103 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8565/0.8585, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001906/0.8605, allocations: 0.8316 MB / 1.263 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001057/0.8606, allocations: 47.11 kB / 1.263 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.8606, allocations: 0.9062 kB / 1.263 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.8607, allocations: 10.14 kB / 1.263 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.641e-05/0.8608, allocations: 13.08 kB / 1.263 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.695e-05/0.8608, allocations: 16.8 kB / 1.263 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.8609, allocations: 63.75 kB / 1.264 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.8611, allocations: 37.38 kB / 1.264 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.433e-05/0.8611, allocations: 26.19 kB / 1.264 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.264e-05/0.8612, allocations: 34.69 kB / 1.264 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.8612, allocations: 6.188 kB / 1.264 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.8612, allocations: 6.406 kB / 1.264 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.8613, allocations: 16.02 kB / 1.264 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.8613, allocations: 29.22 kB / 1.264 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.8614, allocations: 77.48 kB / 1.264 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.8614, allocations: 4 kB / 1.264 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8614, allocations: 0.8125 kB / 1.264 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.8615, allocations: 0 / 1.264 GB, free: 7.242 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.0003325/0.8618, allocations: 380.5 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.8618, allocations: 9.562 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.8619, allocations: 13.27 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.862, allocations: 193 kB / 1.264 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.8621, allocations: 7.781 kB / 1.264 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.8621, allocations: 9.5 kB / 1.264 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.8622, allocations: 99.73 kB / 1.264 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.8622, allocations: 192 / 1.264 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.8623, allocations: 12.78 kB / 1.264 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.8623, allocations: 2.594 kB / 1.264 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/0.8624, allocations: 31.89 kB / 1.264 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.8628, allocations: 450.3 kB / 1.265 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.734e-05/0.8629, allocations: 37.62 kB / 1.265 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.8629, allocations: 20.88 kB / 1.265 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.8629, allocations: 0.7812 kB / 1.265 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.8629, allocations: 39.81 kB / 1.265 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.964e-06/0.8629, allocations: 4.734 kB / 1.265 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000153/0.8631, allocations: 56.28 kB / 1.265 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.8631, allocations: 78.72 kB / 1.265 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.8633, allocations: 160 kB / 1.265 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.8633, allocations: 26.36 kB / 1.265 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.8633, allocations: 107.8 kB / 1.265 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.806e-06/0.8633, allocations: 13.75 kB / 1.265 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.8634, allocations: 13.81 kB / 1.265 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.348e-05/0.8634, allocations: 320.7 kB / 1.266 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.8634, allocations: 8.312 kB / 1.266 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.8635, allocations: 15.64 kB / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.639e-05/0.8635, allocations: 30.75 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.8635, allocations: 4.75 kB / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.482e-05/0.8636, allocations: 53.75 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.8636, allocations: 5.219 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.8636, allocations: 5.172 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.8636, allocations: 0.7188 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.844e-05/0.8637, allocations: 9.875 kB / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.8637, allocations: 1.734 kB / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.8637, allocations: 14.61 kB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.8638, allocations: 1.031 kB / 1.266 GB, free: 5.145 MB / 0.9981 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 4.779e-05/0.8638, allocations: 114.4 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.8639, allocations: 12.28 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.8639, allocations: 12.2 kB / 1.266 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.8639, allocations: 0.8438 kB / 1.266 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8639, allocations: 1.359 kB / 1.266 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.8639, allocations: 1.375 kB / 1.266 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.8642, allocations: 474.1 kB / 1.266 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8642, allocations: 0.625 kB / 1.266 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.8642, allocations: 4.641 kB / 1.266 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8642, allocations: 4.656 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.8642, allocations: 0.75 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8642, allocations: 4.625 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8643, allocations: 1.516 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.51e-05/0.8643, allocations: 88.62 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.8644, allocations: 90.3 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.8644, allocations: 1.984 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.8644, allocations: 0.75 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.8644, allocations: 1.828 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.8644, allocations: 1.516 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.547e-05/0.8645, allocations: 120.1 kB / 1.267 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8645, allocations: 1.094 kB / 1.267 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001877/0.8647, allocations: 11.34 kB / 1.267 GB, free: 4.23 MB / 0.9981 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 8.842e-05/0.8648, allocations: 102.2 kB / 1.267 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.935e-05/0.8649, allocations: 20.11 kB / 1.267 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8649, allocations: 0 / 1.267 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.8649, allocations: 5.438 kB / 1.267 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.8651, allocations: 11.36 kB / 1.267 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002618/0.8653, allocations: 191.8 kB / 1.267 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.8655, allocations: 0.6921 MB / 1.268 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.8655, allocations: 11.38 kB / 1.268 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.8655, allocations: 0 / 1.268 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of Templates: time 0.002538/0.868, allocations: 0.8698 MB / 1.269 GB, free: 3.156 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 11.094940101029351]