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 12.0.0-master/package.mo", uses=false) 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=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.007956/0.007956, allocations: 100.1 kB / 15.73 MB, free: 6.445 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.001649/0.00165, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.952/2.952, allocations: 472.6 MB / 0.7453 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.84 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3758, allocations: 159.9 MB / 1.226 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002358/0.3782, allocations: 0.8314 MB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001355/0.3783, allocations: 43.78 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.3784, allocations: 0 / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.306e-05/0.3785, allocations: 11.86 kB / 1.227 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.869e-05/0.3786, allocations: 11.81 kB / 1.227 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.328e-05/0.3786, allocations: 19.98 kB / 1.227 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.3787, allocations: 67.83 kB / 1.227 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.3789, allocations: 43.92 kB / 1.227 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.444e-05/0.379, allocations: 31.8 kB / 1.227 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.379, allocations: 27.86 kB / 1.227 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.3791, allocations: 8 kB / 1.227 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.3791, allocations: 4 kB / 1.227 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.3791, allocations: 19.91 kB / 1.227 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.3792, allocations: 31.75 kB / 1.227 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.3793, allocations: 75.59 kB / 1.227 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.3793, allocations: 3.984 kB / 1.227 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3793, allocations: 0 / 1.227 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.3794, allocations: 0 / 1.227 GB, free: 7.961 MB / 0.9825 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.0006212/0.38, allocations: 383.1 kB / 1.227 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.38, allocations: 8.031 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.3801, allocations: 12.84 kB / 1.227 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.3804, allocations: 196.2 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3804, allocations: 8.375 kB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.3805, allocations: 4.375 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.3807, allocations: 91.89 kB / 1.228 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3807, allocations: 192 / 1.228 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3807, allocations: 11.94 kB / 1.228 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3807, allocations: 0 / 1.228 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.553e-05/0.3808, allocations: 39.92 kB / 1.228 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006872/0.3815, allocations: 432.7 kB / 1.228 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.047e-05/0.3816, allocations: 41.19 kB / 1.228 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.3817, allocations: 25.84 kB / 1.228 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.3817, allocations: 3.984 kB / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3817, allocations: 30.56 kB / 1.228 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3817, allocations: 0 / 1.228 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001806/0.3819, allocations: 61.52 kB / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.382, allocations: 81.36 kB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.3821, allocations: 162.2 kB / 1.228 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.3822, allocations: 25.7 kB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.3822, allocations: 96.09 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.3822, allocations: 7.938 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.3823, allocations: 25.61 kB / 1.229 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3824, allocations: 322.8 kB / 1.229 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.3824, allocations: 3.938 kB / 1.229 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.3825, allocations: 25.72 kB / 1.229 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.277e-05/0.3825, allocations: 29.66 kB / 1.229 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3825, allocations: 0 / 1.229 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.107e-05/0.3826, allocations: 61.58 kB / 1.229 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3826, allocations: 10.03 kB / 1.229 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3827, allocations: 3.938 kB / 1.229 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3827, allocations: 4.062 kB / 1.229 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.3828, allocations: 4 kB / 1.229 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.3828, allocations: 4 kB / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.3828, allocations: 3.938 kB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3828, allocations: 4 kB / 1.229 GB, free: 5.52 MB / 0.9825 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.426e-05/0.3829, allocations: 113.8 kB / 1.229 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.3829, allocations: 7.953 kB / 1.229 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.383, allocations: 15.81 kB / 1.229 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.383, allocations: 0 / 1.229 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.383, allocations: 8 kB / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.383, allocations: 0 / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.3834, allocations: 478.7 kB / 1.23 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3834, allocations: 0 / 1.23 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.3835, allocations: 7.984 kB / 1.23 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3835, allocations: 0 / 1.23 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3835, allocations: 0 / 1.23 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3835, allocations: 4.062 kB / 1.23 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3835, allocations: 0 / 1.23 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.384e-05/0.3836, allocations: 81.83 kB / 1.23 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.355e-05/0.3837, allocations: 89.05 kB / 1.23 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.3837, allocations: 4 kB / 1.23 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/0.3837, allocations: 0 / 1.23 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.3837, allocations: 4.031 kB / 1.23 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.3837, allocations: 0 / 1.23 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.893e-05/0.3838, allocations: 121.7 kB / 1.23 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3838, allocations: 0 / 1.23 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001825/0.384, allocations: 8 kB / 1.23 GB, free: 4.48 MB / 0.9825 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.000155/0.3842, allocations: 103.2 kB / 1.23 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.53e-05/0.3843, allocations: 23.92 kB / 1.23 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3843, allocations: 128 / 1.23 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.3843, allocations: 12 kB / 1.23 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.3845, allocations: 11.94 kB / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.3848, allocations: 162.5 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.385, allocations: 0.6924 MB / 1.231 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.342e-05/0.3851, allocations: 16.48 kB / 1.231 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.3851, allocations: 11.44 kB / 1.231 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3851, allocations: 0 / 1.231 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of Templates: time 0.002532/0.3877, allocations: 464.5 kB / 1.231 GB, free: 2.93 MB / 0.9825 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