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.009986/0.009986, allocations: 99.66 kB / 15.73 MB, free: 6.047 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.001615/0.001615, allocations: 188 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.961/2.961, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.89 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3685, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002658/0.3712, allocations: 0.8156 MB / 1.209 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001719/0.3714, allocations: 43.78 kB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.3715, allocations: 4 kB / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.023e-05/0.3716, allocations: 7.875 kB / 1.209 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.3717, allocations: 11.88 kB / 1.209 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.838e-05/0.3718, allocations: 15.98 kB / 1.209 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.3719, allocations: 59.83 kB / 1.209 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.3721, allocations: 59.84 kB / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.3722, allocations: 23.86 kB / 1.209 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.922e-05/0.3723, allocations: 27.86 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.3723, allocations: 4 kB / 1.209 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.533e-05/0.3723, allocations: 8 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.3724, allocations: 15.86 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.3724, allocations: 31.81 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.3726, allocations: 71.7 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.3726, allocations: 11.92 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3726, allocations: 4 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.3727, allocations: 0 / 1.209 GB, free: 8.414 MB / 0.9669 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.000598/0.3733, allocations: 375.2 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.3733, allocations: 12.62 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.3734, allocations: 12.83 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.3737, allocations: 196.1 kB / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3737, allocations: 4.375 kB / 1.209 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.3737, allocations: 8.375 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.3739, allocations: 93.52 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3739, allocations: 192 / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.374, allocations: 3.938 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.374, allocations: 8 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.3741, allocations: 39.92 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.3747, allocations: 436.5 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.01e-05/0.3748, allocations: 45.34 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.3748, allocations: 17.78 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.3748, allocations: 0 / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.3749, allocations: 34.56 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.104e-06/0.3749, allocations: 4 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001863/0.3751, allocations: 57.47 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.3752, allocations: 81.05 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3753, allocations: 158.9 kB / 1.21 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3753, allocations: 25.7 kB / 1.21 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.3754, allocations: 99.98 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.3754, allocations: 15.89 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.3755, allocations: 17.88 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3756, allocations: 322.8 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.3756, allocations: 8 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.3756, allocations: 13.72 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.275e-05/0.3757, allocations: 25.72 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3757, allocations: 3.938 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.485e-05/0.3758, allocations: 65.56 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3758, allocations: 4 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3758, allocations: 3.938 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3759, allocations: 4 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.3759, allocations: 4 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3759, allocations: 3.984 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/0.376, allocations: 11.84 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.376, allocations: 4 kB / 1.211 GB, free: 5.977 MB / 0.9669 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.707e-05/0.3761, allocations: 117.8 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.3761, allocations: 15.91 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.3762, allocations: 11.81 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3762, allocations: 0 / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3762, allocations: 0 / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3762, allocations: 0 / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.3766, allocations: 470.8 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3766, allocations: 0 / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.341e-05/0.3766, allocations: 12.05 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3766, allocations: 0 / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3767, allocations: 4 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3767, allocations: 0 / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3767, allocations: 0 / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.585e-05/0.3768, allocations: 77.75 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.865e-05/0.3768, allocations: 93.03 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.3769, allocations: 7.938 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.884e-05/0.3769, allocations: 0 / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.3769, allocations: 8 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3769, allocations: 96 / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.695e-05/0.377, allocations: 121.1 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.91e-07/0.377, allocations: 0 / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001916/0.3772, allocations: 8 kB / 1.212 GB, free: 4.938 MB / 0.9669 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.0001442/0.3774, allocations: 103.2 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.782e-05/0.3775, allocations: 19.98 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3775, allocations: 3.938 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.071e-05/0.3775, allocations: 4 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.3777, allocations: 15.92 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.3781, allocations: 154.8 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3785, allocations: 0.7009 MB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.965e-05/0.3785, allocations: 8.422 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.3786, allocations: 11.44 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.3786, allocations: 0 / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of Templates: time 0.002748/0.3813, allocations: 457 kB / 1.213 GB, free: 3.406 MB / 0.9669 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