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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001766/0.001766, allocations: 109.3 kB / 15.7 MB, free: 132 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.001945/0.001945, allocations: 197.4 kB / 16.63 MB, free: 6.609 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.448/1.448, allocations: 222.9 MB / 240.3 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.649/2.649, allocations: 390.3 MB / 0.6648 GB, free: 96 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 64.06 kB / 0.9509 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4126, allocations: 140.4 MB / 1.088 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002602/0.4153, allocations: 0.8233 MB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001793/0.4155, allocations: 47.78 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.753e-05/0.4156, allocations: 4 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.675e-05/0.4156, allocations: 7.875 kB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.4158, allocations: 7.922 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.978e-05/0.4159, allocations: 15.98 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.416, allocations: 71.78 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.4162, allocations: 35.92 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.062e-05/0.4163, allocations: 27.86 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.4164, allocations: 31.84 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.4164, allocations: 8 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.4164, allocations: 4 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.4164, allocations: 19.92 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.4165, allocations: 35.67 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.4167, allocations: 75.66 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4167, allocations: 0 / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4167, allocations: 0 / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.4167, allocations: 0 / 1.089 GB, free: 168 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.0005778/0.4173, allocations: 375.3 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.4173, allocations: 8.031 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.4174, allocations: 12.75 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.4176, allocations: 200.1 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.4177, allocations: 8.375 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.4177, allocations: 8.375 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.4179, allocations: 93.48 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4179, allocations: 192 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.4179, allocations: 15.94 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.4179, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.047e-05/0.418, allocations: 35.92 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.4186, allocations: 432.5 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.066e-05/0.4187, allocations: 41.28 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.4187, allocations: 21.84 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.4187, allocations: 0 / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.4188, allocations: 34.55 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4188, allocations: 0 / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001901/0.419, allocations: 53.48 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.419, allocations: 89.3 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.4192, allocations: 159.9 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.4192, allocations: 25.7 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.4193, allocations: 104 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.4193, allocations: 3.906 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.4193, allocations: 17.66 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4195, allocations: 322.8 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.4195, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.4195, allocations: 25.7 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.647e-05/0.4196, allocations: 25.72 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4196, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.112e-05/0.4197, allocations: 57.48 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.4197, allocations: 8 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4197, allocations: 3.938 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4198, allocations: 8.047 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.4198, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4199, allocations: 7.984 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.4199, allocations: 15.84 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.4199, allocations: 0 / 1.091 GB, free: 13.72 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.166e-05/0.42, allocations: 117.8 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.4201, allocations: 7.906 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.4201, allocations: 15.8 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4201, allocations: 4 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4201, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.4201, allocations: 4 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.4205, allocations: 470.8 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4205, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.4206, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4206, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.4206, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4206, allocations: 4.062 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4206, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.4207, allocations: 77.83 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.4208, allocations: 89.02 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.4208, allocations: 3.984 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.4208, allocations: 7.938 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.4208, allocations: 4.031 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.4208, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001037/0.4209, allocations: 121.1 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.421, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001956/0.4212, allocations: 12 kB / 1.092 GB, free: 12.68 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.0001357/0.4213, allocations: 99.72 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.4214, allocations: 16 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.4214, allocations: 4.125 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.956e-05/0.4214, allocations: 7.938 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.4216, allocations: 17.8 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.422, allocations: 167.7 kB / 1.092 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.4223, allocations: 0.6885 MB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.071e-05/0.4224, allocations: 16.62 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.4224, allocations: 11.44 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of SimCode: time 6.22e-07/0.4224, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of Templates: time 0.002704/0.4251, allocations: 457.9 kB / 1.094 GB, free: 11.15 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