Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.009993/0.009993, allocations: 101 kB / 15.73 MB, free: 6.039 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.001784/0.001784, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.738/2.738, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 64.48 kB / 0.9509 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3792, allocations: 140.4 MB / 1.088 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002074/0.3813, allocations: 0.8176 MB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001161/0.3815, allocations: 51.78 kB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.3815, allocations: 0 / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.832e-05/0.3816, allocations: 7.875 kB / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.352e-05/0.3817, allocations: 7.922 kB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.429e-05/0.3817, allocations: 15.98 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.3819, allocations: 71.78 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.382, allocations: 39.97 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.317e-05/0.3821, allocations: 27.86 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.3821, allocations: 31.78 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.3822, allocations: 12 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/0.3822, allocations: 4 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.3822, allocations: 19.92 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.3823, allocations: 35.8 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.3824, allocations: 71.59 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3824, allocations: 0 / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3824, allocations: 0 / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3824, allocations: 0 / 1.089 GB, free: 232 kB / 0.8419 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.0004677/0.3829, allocations: 371.3 kB / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3829, allocations: 12.03 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.383, allocations: 16.75 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.3832, allocations: 200.1 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3832, allocations: 4.375 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.3832, allocations: 8.375 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.3834, allocations: 93.19 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3834, allocations: 192 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.3834, allocations: 7.938 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.3835, allocations: 4 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.489e-05/0.3835, allocations: 39.92 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.3841, allocations: 432.5 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.395e-05/0.3842, allocations: 37.28 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.3842, allocations: 29.83 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.3842, allocations: 0 / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.3843, allocations: 34.5 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3843, allocations: 0 / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001678/0.3844, allocations: 61.42 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.3845, allocations: 81.36 kB / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.3847, allocations: 161.3 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.3847, allocations: 25.7 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.3848, allocations: 104 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-06/0.3848, allocations: 3.906 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.3848, allocations: 17.72 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.385, allocations: 322.8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.385, allocations: 8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.385, allocations: 25.7 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.481e-05/0.3851, allocations: 21.72 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3851, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.948e-05/0.3852, allocations: 61.55 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3852, allocations: 7.984 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3852, allocations: 3.938 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3852, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.364e-05/0.3853, allocations: 12.06 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3853, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.3853, allocations: 7.844 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.3853, allocations: 4 kB / 1.091 GB, free: 13.79 MB / 0.8575 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.534e-05/0.3854, allocations: 113.8 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.3855, allocations: 7.906 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.3855, allocations: 11.8 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3855, allocations: 4 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.3855, allocations: 3.938 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3855, allocations: 4 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.3859, allocations: 470.8 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3859, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/0.3859, allocations: 7.938 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.386, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.386, allocations: 96 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.386, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.386, allocations: 8.062 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.281e-05/0.3861, allocations: 89.75 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.3861, allocations: 85.02 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.3862, allocations: 3.984 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/0.3862, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.3862, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3862, allocations: 8.031 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.432e-05/0.3863, allocations: 121 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3863, allocations: 4 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000186/0.3865, allocations: 8 kB / 1.092 GB, free: 12.75 MB / 0.8575 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.000134/0.3866, allocations: 103.7 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.936e-05/0.3867, allocations: 12 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3867, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-05/0.3868, allocations: 16.05 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.3869, allocations: 13.83 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.3872, allocations: 162.8 kB / 1.092 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.3875, allocations: 0.6963 MB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.404e-05/0.3876, allocations: 4.562 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.3876, allocations: 15.44 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3876, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of Templates: time 0.002502/0.3901, allocations: 458.4 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches