Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001232/0.001232, 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.001424/0.001424, allocations: 193.7 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.431/1.431, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.91 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.6603, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002066/0.6624, allocations: 0.896 MB / 1.017 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001062/0.6625, allocations: 47.78 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.6626, allocations: 0 / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.534e-05/0.6626, allocations: 7.922 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.6627, allocations: 3.938 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.019e-05/0.6627, allocations: 12 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.226e-05/0.6628, allocations: 59.84 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.663, allocations: 43.97 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.663, allocations: 23.84 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.6631, allocations: 31.8 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.6631, allocations: 4 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-06/0.6631, allocations: 4 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.6631, allocations: 11.92 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.6632, allocations: 31.75 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.288e-05/0.6633, allocations: 69.72 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6633, allocations: 4 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6633, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.6633, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.7637 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.000395/0.6637, allocations: 379.2 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.6637, allocations: 8.031 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.6638, allocations: 8.844 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.664, allocations: 200.1 kB / 1.018 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.664, allocations: 8.312 kB / 1.018 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.664, allocations: 8.375 kB / 1.018 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.6642, allocations: 93.73 kB / 1.018 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.6642, allocations: 192 / 1.018 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.6642, allocations: 11.94 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.6642, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.822e-05/0.6643, allocations: 43.86 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.6648, allocations: 432.6 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.073e-05/0.6649, allocations: 41.28 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.6649, allocations: 17.84 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.6649, allocations: 0 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.665, allocations: 34.56 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.665, allocations: 0 / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001767/0.6651, allocations: 69.38 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.6652, allocations: 77.11 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.6654, allocations: 160.3 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.6654, allocations: 29.7 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.6655, allocations: 104.2 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-06/0.6655, allocations: 11.89 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.6655, allocations: 17.72 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6656, allocations: 322.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.6656, allocations: 3.938 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.227e-05/0.6657, allocations: 21.72 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.104e-05/0.6657, allocations: 29.7 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6657, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.733e-05/0.6658, allocations: 57.55 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.6658, allocations: 8 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6658, allocations: 3.938 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.6659, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.6659, allocations: 7.984 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.6659, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.666, allocations: 7.906 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.666, allocations: 4 kB / 1.02 GB, free: 15.12 MB / 0.7794 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 6.7e-05/0.6661, allocations: 113.9 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.6661, allocations: 11.98 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.6661, allocations: 19.75 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.6661, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.6662, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6662, allocations: 7.922 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.6665, allocations: 466.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.6666, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.6666, allocations: 7.938 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6666, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.6666, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.6666, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6666, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.367e-05/0.6667, allocations: 89.89 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.6668, allocations: 88.89 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.6668, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.079e-05/0.6668, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.6668, allocations: 3.984 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.6668, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.475e-05/0.6669, allocations: 125.4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6669, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001883/0.6671, allocations: 8 kB / 1.021 GB, free: 14.08 MB / 0.7794 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.0001051/0.6672, allocations: 111.2 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.43e-05/0.6673, allocations: 12 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6673, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/0.6673, allocations: 7.938 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.6675, allocations: 11.94 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.6678, allocations: 188.7 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.6681, allocations: 0.6926 MB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.6681, allocations: 12.42 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.6682, allocations: 11.44 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6682, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of Templates: time 0.002395/0.6706, allocations: 432.5 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches