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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001177, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00955/0.00955, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.956/2.956, allocations: 462.6 MB / 0.7363 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000452/0.000452, allocations: 17.8 kB / 0.9027 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4038, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001336/0.4052, allocations: 0.5453 MB / 1.059 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001585/0.4054, allocations: 47.77 kB / 1.059 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.4055, allocations: 0 / 1.059 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.4055, allocations: 3.938 kB / 1.059 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.4056, allocations: 0 / 1.059 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.351e-05/0.4057, allocations: 15.98 kB / 1.059 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.4058, allocations: 67.69 kB / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.406, allocations: 39.97 kB / 1.059 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.824e-05/0.4061, allocations: 15.88 kB / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.099e-05/0.4061, allocations: 15.86 kB / 1.059 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.4061, allocations: 4 kB / 1.059 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.4062, allocations: 0 / 1.059 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.4062, allocations: 19.86 kB / 1.059 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.4063, allocations: 57.44 kB / 1.059 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.4064, allocations: 60.05 kB / 1.059 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4064, allocations: 0 / 1.059 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4064, allocations: 0 / 1.059 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.4064, allocations: 0 / 1.059 GB, free: 4.094 MB / 0.8106 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.0004581/0.4069, allocations: 363.3 kB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.4069, allocations: 12.02 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.407, allocations: 8.844 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.4072, allocations: 200.2 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.4072, allocations: 4.375 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.4073, allocations: 8.375 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.4074, allocations: 87.89 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.4075, allocations: 192 / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.4075, allocations: 15.88 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4075, allocations: 0 / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.663e-05/0.4076, allocations: 43.91 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.4082, allocations: 436.6 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.779e-05/0.4083, allocations: 37.19 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.4083, allocations: 29.78 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.4083, allocations: 0 / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.4084, allocations: 34.55 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4084, allocations: 0 / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002234/0.4086, allocations: 61.48 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.4086, allocations: 77.11 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.4088, allocations: 163.9 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.4088, allocations: 25.7 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.4089, allocations: 111.9 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.323e-06/0.4089, allocations: 0 / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.409, allocations: 13.72 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4091, allocations: 318.8 kB / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.4091, allocations: 8 kB / 1.061 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.4091, allocations: 13.72 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.254e-05/0.4092, allocations: 37.64 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4092, allocations: 4 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.3e-05/0.4093, allocations: 53.55 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4093, allocations: 4 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.4093, allocations: 3.938 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.4093, allocations: 4 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.478e-05/0.4094, allocations: 7.984 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4094, allocations: 4.062 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.901e-05/0.4095, allocations: 11.84 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.4095, allocations: 0 / 1.062 GB, free: 1.672 MB / 0.8106 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 8.012e-05/0.4096, allocations: 113.8 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.4096, allocations: 7.906 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.4096, allocations: 15.81 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.4096, allocations: 0 / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4097, allocations: 0 / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.4097, allocations: 3.984 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.41, allocations: 478.7 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4101, allocations: 0 / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.4101, allocations: 4 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4101, allocations: 96 / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.4101, allocations: 8 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4101, allocations: 0 / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4101, allocations: 7.922 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.712e-05/0.4102, allocations: 81.89 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.4103, allocations: 89.02 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.4103, allocations: 0 / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.019e-05/0.4103, allocations: 0 / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.4103, allocations: 7.984 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.4104, allocations: 3.938 kB / 1.062 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.992e-05/0.4104, allocations: 125.9 kB / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4105, allocations: 0 / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000194/0.4107, allocations: 11.91 kB / 1.063 GB, free: 0.6211 MB / 0.8106 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.0001354/0.4108, allocations: 95.25 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.681e-05/0.4109, allocations: 15.94 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4109, allocations: 4 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.504e-05/0.4109, allocations: 8 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.4111, allocations: 13.91 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.4114, allocations: 176.5 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.4117, allocations: 0.6965 MB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.4118, allocations: 8.422 kB / 1.063 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.4118, allocations: 11.44 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of SimCode: time 1.883e-06/0.4118, allocations: 0 / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of Templates: time 0.00264/0.4144, allocations: 428.4 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches