Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001241/0.001241, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.76/2.76, allocations: 461.9 MB / 0.7342 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.98 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3652, allocations: 157.4 MB / 1.052 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002088/0.3673, allocations: 0.8803 MB / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.838e-05/0.3674, allocations: 39.78 kB / 1.053 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.3675, allocations: 4 kB / 1.053 GB, free: 8 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.88e-05/0.3675, allocations: 3.938 kB / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.555e-05/0.3676, allocations: 3.984 kB / 1.053 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.495e-05/0.3677, allocations: 16 kB / 1.053 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.93e-05/0.3678, allocations: 67.69 kB / 1.053 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.3679, allocations: 39.97 kB / 1.053 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.368, allocations: 23.86 kB / 1.053 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.368, allocations: 23.86 kB / 1.053 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3681, allocations: 11.94 kB / 1.053 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.3681, allocations: 4 kB / 1.053 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.3681, allocations: 15.97 kB / 1.053 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.3682, allocations: 31.69 kB / 1.053 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.3683, allocations: 71.98 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3683, allocations: 4 kB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3683, allocations: 0 / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.3683, allocations: 0 / 1.053 GB, free: 7.688 MB / 0.8106 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.0004215/0.3687, allocations: 371.3 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3688, allocations: 16.03 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.3688, allocations: 8.844 kB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.369, allocations: 200.1 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.369, allocations: 4.375 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.369, allocations: 8.375 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.3692, allocations: 99.8 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3692, allocations: 192 / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3692, allocations: 3.938 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3692, allocations: 8 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.642e-05/0.3693, allocations: 39.92 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.3698, allocations: 436.6 kB / 1.054 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.951e-05/0.3699, allocations: 41.22 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.37, allocations: 25.81 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.37, allocations: 0 / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.37, allocations: 34.56 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.37, allocations: 0 / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001694/0.3702, allocations: 57.47 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.3702, allocations: 81.36 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3704, allocations: 161.3 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.3704, allocations: 25.7 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.3705, allocations: 108 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.3705, allocations: 7.906 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.3705, allocations: 13.72 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.3706, allocations: 318.8 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.3706, allocations: 8 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.999e-05/0.3707, allocations: 17.72 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.771e-05/0.3707, allocations: 33.66 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3707, allocations: 0 / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.886e-05/0.3708, allocations: 57.53 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3708, allocations: 4 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3708, allocations: 3.938 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3709, allocations: 8.062 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.3709, allocations: 4 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3709, allocations: 0 / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.556e-05/0.371, allocations: 19.77 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.371, allocations: 7.938 kB / 1.055 GB, free: 5.238 MB / 0.8106 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.771e-05/0.3711, allocations: 109.8 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.3711, allocations: 11.91 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.3712, allocations: 11.81 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3712, allocations: 0 / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3712, allocations: 4 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3712, allocations: 0 / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.3716, allocations: 474.8 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3716, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.925e-05/0.3716, allocations: 4 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3716, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.3716, allocations: 4 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3716, allocations: 4.062 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3716, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.73e-05/0.3717, allocations: 77.78 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.3718, allocations: 93 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.3718, allocations: 0 / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.3718, allocations: 4 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.3718, allocations: 8.031 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.3719, allocations: 0 / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.994e-05/0.3719, allocations: 119.2 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3719, allocations: 0 / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001894/0.3721, allocations: 8 kB / 1.056 GB, free: 4.211 MB / 0.8106 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.0001145/0.3723, allocations: 103.2 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.569e-05/0.3723, allocations: 15.94 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.3723, allocations: 8.125 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.3724, allocations: 4 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.3725, allocations: 11.94 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.3729, allocations: 188.5 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.3731, allocations: 0.6887 MB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.365e-05/0.3731, allocations: 8.422 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.3732, allocations: 11.44 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3732, allocations: 0 / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of Templates: time 0.002519/0.3757, allocations: 440.6 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches