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) 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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009535/0.0009535, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 180.1 kB / 16.92 MB, free: 6.918 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.857/2.857, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 12.97 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3483, allocations: 159.6 MB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001178/0.3495, allocations: 0.5453 MB / 1.06 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001557/0.3497, allocations: 39.78 kB / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.3498, allocations: 4 kB / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.3498, allocations: 7.922 kB / 1.06 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.973e-05/0.3499, allocations: 0 / 1.06 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.203e-05/0.3499, allocations: 15.98 kB / 1.06 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.3501, allocations: 63.7 kB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.3502, allocations: 39.97 kB / 1.06 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.3503, allocations: 23.86 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.709e-05/0.3503, allocations: 15.86 kB / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3504, allocations: 0 / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.3504, allocations: 4 kB / 1.06 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.3504, allocations: 15.92 kB / 1.06 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.3505, allocations: 57.39 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.147e-05/0.3506, allocations: 48.17 kB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3506, allocations: 3.984 kB / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3506, allocations: 0 / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.3506, allocations: 0 / 1.06 GB, free: 4.055 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.0004555/0.3511, allocations: 363.3 kB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3511, allocations: 8.031 kB / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.3512, allocations: 12.84 kB / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.3514, allocations: 196.1 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3514, allocations: 12.36 kB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.3514, allocations: 4.375 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3516, allocations: 91.89 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.3516, allocations: 192 / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.3516, allocations: 11.94 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3516, allocations: 0 / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.766e-05/0.3517, allocations: 39.86 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.3523, allocations: 436.6 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.481e-05/0.3524, allocations: 33.25 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.3524, allocations: 33.77 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.3525, allocations: 0 / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3525, allocations: 30.56 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3525, allocations: 0 / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001855/0.3527, allocations: 57.48 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.3527, allocations: 81.34 kB / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.3529, allocations: 163.7 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.3529, allocations: 25.7 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.353, allocations: 111.9 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.223e-06/0.353, allocations: 0 / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.353, allocations: 17.7 kB / 1.062 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3532, allocations: 314.8 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.3532, allocations: 4 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.944e-05/0.3532, allocations: 25.7 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.924e-05/0.3533, allocations: 29.59 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3533, allocations: 4 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.406e-05/0.3534, allocations: 61.53 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3534, allocations: 4 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3534, allocations: 7.938 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3534, allocations: 4 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.3535, allocations: 8.062 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3535, allocations: 0 / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/0.3536, allocations: 11.84 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.3536, allocations: 0 / 1.062 GB, free: 1.633 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.23e-05/0.3537, allocations: 113.8 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.3537, allocations: 7.906 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.3538, allocations: 19.8 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3538, allocations: 96 / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3538, allocations: 0 / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3538, allocations: 7.984 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.3542, allocations: 470.8 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3542, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.3542, allocations: 4 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3542, allocations: 0 / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3542, allocations: 4 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3542, allocations: 0 / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3542, allocations: 0 / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.184e-05/0.3543, allocations: 89.77 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.3544, allocations: 89 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.3544, allocations: 4 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.3544, allocations: 0 / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.3545, allocations: 4 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3545, allocations: 0 / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.992e-05/0.3546, allocations: 126.1 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3546, allocations: 0 / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002054/0.3548, allocations: 11.91 kB / 1.063 GB, free: 0.5898 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.0001223/0.3549, allocations: 95.25 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.675e-05/0.355, allocations: 15.94 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.355, allocations: 4 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.421e-05/0.355, allocations: 12.17 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.3552, allocations: 11.94 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.3555, allocations: 206.2 kB / 1.064 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.3558, allocations: 0.6965 MB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.3558, allocations: 11.44 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3558, allocations: 0 / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of Templates: time 0.002216/0.358, allocations: 0.8392 MB / 1.065 GB, free: 14.62 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches