Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.006766/0.006766, allocations: 102.3 kB / 15.73 MB, free: 6.035 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.002265/0.002265, allocations: 199.7 kB / 16.68 MB, free: 5.957 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.678/2.678, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.28 kB / 0.9509 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3447, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002006/0.3468, allocations: 0.8332 MB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001155/0.3469, allocations: 47.78 kB / 1.089 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.347, allocations: 4 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.94e-05/0.347, allocations: 7.875 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.331e-05/0.3471, allocations: 3.938 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.613e-05/0.3472, allocations: 19.97 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.3473, allocations: 67.78 kB / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.3474, allocations: 43.97 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.03e-05/0.3475, allocations: 23.86 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.3475, allocations: 27.86 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.3476, allocations: 4 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.3476, allocations: 8 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.3476, allocations: 15.92 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.3477, allocations: 43.67 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3478, allocations: 79.58 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3478, allocations: 0 / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3478, allocations: 4 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3478, allocations: 0 / 1.089 GB, free: 292 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.0004393/0.3482, allocations: 363.3 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3483, allocations: 12.03 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.3483, allocations: 12.75 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.3486, allocations: 204.1 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3486, allocations: 8.375 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.3486, allocations: 12.38 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.3488, allocations: 83.95 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3488, allocations: 192 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3488, allocations: 7.938 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3488, allocations: 4 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.921e-05/0.3489, allocations: 43.91 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.3494, allocations: 436.5 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.907e-05/0.3495, allocations: 37.34 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.3495, allocations: 17.78 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.3495, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.3495, allocations: 38.56 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.3495, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001729/0.3497, allocations: 57.47 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.3498, allocations: 81.11 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3499, allocations: 156.5 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3499, allocations: 25.7 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.35, allocations: 108.3 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.075e-05/0.35, allocations: 7.906 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.3501, allocations: 17.72 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3502, allocations: 326.7 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.3503, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-05/0.3503, allocations: 17.72 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.909e-05/0.3503, allocations: 25.72 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3503, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.019e-05/0.3504, allocations: 65.53 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3504, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3504, allocations: 3.938 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3505, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.3505, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3505, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.3506, allocations: 15.78 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.3506, allocations: 8.047 kB / 1.091 GB, free: 13.86 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 7.281e-05/0.3507, allocations: 113.8 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.3507, allocations: 7.906 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.3508, allocations: 15.81 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3508, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3508, allocations: 7.938 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3508, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.3512, allocations: 466.8 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3512, allocations: 3.984 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.3512, allocations: 7.938 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3512, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.3512, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3512, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3512, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.476e-05/0.3513, allocations: 81.91 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.3514, allocations: 89 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.3514, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.895e-05/0.3514, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.3514, allocations: 4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.3514, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.033e-05/0.3515, allocations: 129.4 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3515, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001861/0.3517, allocations: 12.03 kB / 1.092 GB, free: 12.82 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.0001197/0.3519, allocations: 99.77 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.116e-05/0.352, allocations: 19.94 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.352, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.352, allocations: 7.938 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.3522, allocations: 11.94 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.3525, allocations: 167.1 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3527, allocations: 0.6929 MB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.235e-05/0.3528, allocations: 8.422 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.3528, allocations: 11.44 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3528, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of Templates: time 0.00256/0.3554, allocations: 478 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches