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.001154/0.001153, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01123/0.01123, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.598/1.598, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.515/2.515, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.000471, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7703/0.7708, allocations: 142.4 MB / 0.955 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001062/0.7719, allocations: 0.5378 MB / 0.9556 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001039/0.772, allocations: 41.31 kB / 0.9556 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.7721, allocations: 1.031 kB / 0.9556 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.7721, allocations: 11.86 kB / 0.9556 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.509e-05/0.7722, allocations: 5.031 kB / 0.9556 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.415e-05/0.7723, allocations: 14.8 kB / 0.9556 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.574e-05/0.7724, allocations: 51.55 kB / 0.9557 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.7725, allocations: 42.08 kB / 0.9557 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.7726, allocations: 25.8 kB / 0.9557 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.7726, allocations: 19.86 kB / 0.9558 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.7727, allocations: 2.312 kB / 0.9558 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.7727, allocations: 1.312 kB / 0.9558 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.7727, allocations: 13.94 kB / 0.9558 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.7728, allocations: 47.33 kB / 0.9558 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.594e-05/0.7729, allocations: 74.14 kB / 0.9559 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.7729, allocations: 1.188 kB / 0.9559 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7729, allocations: 0 / 0.9559 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.7729, allocations: 0 / 0.9559 GB, free: 7.043 MB / 0.7169 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.0003938/0.7733, allocations: 356.9 kB / 0.9562 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.7733, allocations: 9.406 kB / 0.9562 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.7734, allocations: 18.19 kB / 0.9563 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.7736, allocations: 206.2 kB / 0.9565 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.7736, allocations: 3.062 kB / 0.9565 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.7736, allocations: 9.438 kB / 0.9565 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.7738, allocations: 86.98 kB / 0.9566 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.7738, allocations: 5.031 kB / 0.9566 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.7738, allocations: 9.062 kB / 0.9566 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.7738, allocations: 2.375 kB / 0.9566 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.727e-05/0.7739, allocations: 35.58 kB / 0.9566 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.7744, allocations: 442.2 kB / 0.957 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.58e-05/0.7744, allocations: 40.59 kB / 0.9571 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.7745, allocations: 23.53 kB / 0.9571 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.7745, allocations: 0 / 0.9571 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.7745, allocations: 44.62 kB / 0.9571 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.7745, allocations: 0 / 0.9571 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.7747, allocations: 55.34 kB / 0.9572 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.7747, allocations: 81.3 kB / 0.9573 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.7749, allocations: 164.1 kB / 0.9574 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.7749, allocations: 29.7 kB / 0.9574 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.775, allocations: 109.2 kB / 0.9576 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.775, allocations: 5.156 kB / 0.9576 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.775, allocations: 10.81 kB / 0.9576 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.7751, allocations: 317 kB / 0.9579 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.7751, allocations: 10.42 kB / 0.9579 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/0.7751, allocations: 15.28 kB / 0.9579 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.7751, allocations: 29.78 kB / 0.9579 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7751, allocations: 0.875 kB / 0.9579 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.648e-05/0.7752, allocations: 58.5 kB / 0.958 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.7753, allocations: 5.844 kB / 0.958 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.7753, allocations: 3.938 kB / 0.958 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.7753, allocations: 1.156 kB / 0.958 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.026e-05/0.7754, allocations: 6.5 kB / 0.958 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.7754, allocations: 4 kB / 0.958 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.967e-05/0.7754, allocations: 14.69 kB / 0.958 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.7754, allocations: 1.469 kB / 0.958 GB, free: 4.875 MB / 0.7169 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 5.944e-05/0.7755, allocations: 113.4 kB / 0.9581 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.7755, allocations: 11.41 kB / 0.9581 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.7756, allocations: 11.06 kB / 0.9581 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7756, allocations: 1 kB / 0.9581 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7756, allocations: 0 / 0.9581 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.7756, allocations: 5.375 kB / 0.9582 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.7759, allocations: 470.7 kB / 0.9586 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.7759, allocations: 0 / 0.9586 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/0.7759, allocations: 2.562 kB / 0.9586 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.7759, allocations: 5.016 kB / 0.9586 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.7759, allocations: 0.9062 kB / 0.9586 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.7759, allocations: 1.188 kB / 0.9586 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7759, allocations: 0 / 0.9586 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.484e-05/0.776, allocations: 83.31 kB / 0.9587 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.776, allocations: 95.81 kB / 0.9588 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.7761, allocations: 1.062 kB / 0.9588 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.7761, allocations: 1.438 kB / 0.9588 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.7761, allocations: 0 / 0.9588 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.7761, allocations: 5.375 kB / 0.9588 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.133e-05/0.7762, allocations: 128.3 kB / 0.9589 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7762, allocations: 3.938 kB / 0.9589 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001837/0.7764, allocations: 4.469 kB / 0.9589 GB, free: 3.93 MB / 0.7169 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.0001072/0.7765, allocations: 100.7 kB / 0.959 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.361e-05/0.7766, allocations: 17.98 kB / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7766, allocations: 4 kB / 0.959 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.7766, allocations: 8.438 kB / 0.959 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.7768, allocations: 13.2 kB / 0.9591 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.7771, allocations: 172.9 kB / 0.9592 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.7772, allocations: 0.6987 MB / 0.9599 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.7773, allocations: 8.734 kB / 0.9599 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.7773, allocations: 11.84 kB / 0.9599 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.7773, allocations: 0 / 0.9599 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.002577/0.7799, allocations: 432.2 kB / 0.9603 GB, free: 2.699 MB / 0.7169 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