Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001853/0.001853, allocations: 102 kB / 16.27 MB, free: 5.859 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.002073/0.002073, allocations: 185.3 kB / 17.19 MB, free: 5.508 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.588/1.588, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.816/2.816, allocations: 469.8 MB / 0.743 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 68.77 kB / 0.9092 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3191, allocations: 159.1 MB / 1.065 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002087/0.3212, allocations: 0.8214 MB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001086/0.3214, allocations: 47.78 kB / 1.065 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.384e-05/0.3214, allocations: 0 / 1.065 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/0.3215, allocations: 7.875 kB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.986e-05/0.3215, allocations: 11.92 kB / 1.066 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.236e-05/0.3216, allocations: 15.98 kB / 1.066 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.3217, allocations: 59.8 kB / 1.066 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.3219, allocations: 55.88 kB / 1.066 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.433e-05/0.3219, allocations: 23.88 kB / 1.066 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.515e-05/0.322, allocations: 27.84 kB / 1.066 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.322, allocations: 8 kB / 1.066 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.322, allocations: 4 kB / 1.066 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.322, allocations: 11.94 kB / 1.066 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.3221, allocations: 39.73 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.3222, allocations: 71.98 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3222, allocations: 4 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3222, allocations: 0 / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.3222, allocations: 0 / 1.066 GB, free: 13.57 MB / 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.0004398/0.3227, allocations: 379.2 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3227, allocations: 8.031 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.3228, allocations: 12.75 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.323, allocations: 188.2 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.323, allocations: 8.375 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.323, allocations: 12.3 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3232, allocations: 98.39 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3232, allocations: 192 / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3232, allocations: 11.94 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3232, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.502e-05/0.3233, allocations: 35.92 kB / 1.067 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.3239, allocations: 440.6 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.333e-05/0.3239, allocations: 37.16 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.324, allocations: 29.86 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.324, allocations: 0 / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.324, allocations: 34.56 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.324, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001624/0.3242, allocations: 57.48 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.3243, allocations: 77.11 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3244, allocations: 164.3 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3245, allocations: 25.7 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.3245, allocations: 104.2 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.297e-06/0.3246, allocations: 11.91 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.3246, allocations: 17.7 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3247, allocations: 318.8 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.3248, allocations: 8 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.3248, allocations: 17.7 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.552e-05/0.3249, allocations: 33.66 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.3249, allocations: 3.938 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.823e-05/0.325, allocations: 57.53 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.325, allocations: 8 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.325, allocations: 3.938 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.325, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.652e-05/0.3251, allocations: 4 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3251, allocations: 4 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.3251, allocations: 11.84 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.3251, allocations: 4 kB / 1.068 GB, free: 11.13 MB / 0.8419 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.345e-05/0.3252, allocations: 109.9 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.3253, allocations: 11.91 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.3253, allocations: 15.8 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3253, allocations: 3.938 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3253, allocations: 4 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3253, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.3258, allocations: 474.8 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3258, allocations: 0 / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.22e-05/0.3258, allocations: 8 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3258, allocations: 0 / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.3258, allocations: 0 / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3258, allocations: 0 / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3258, allocations: 3.984 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.553e-05/0.3259, allocations: 85.84 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.326, allocations: 89 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.326, allocations: 4 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.3261, allocations: 0 / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.507e-06/0.3261, allocations: 0 / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.3261, allocations: 0 / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.388e-05/0.3262, allocations: 121.3 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3262, allocations: 0 / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001828/0.3264, allocations: 8 kB / 1.069 GB, free: 10.1 MB / 0.8419 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.0001147/0.3265, allocations: 103.8 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.16e-05/0.3266, allocations: 23.92 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3266, allocations: 0 / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.071e-05/0.3266, allocations: 4 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.3268, allocations: 13.83 kB / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.3271, allocations: 192.7 kB / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3274, allocations: 0.6963 MB / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.3275, allocations: 11.44 kB / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.3275, allocations: 4 kB / 1.07 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of Templates: time 0.002334/0.3298, allocations: 0.856 MB / 1.071 GB, free: 8.125 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches