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.001401/0.001401, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001497/0.001497, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.662/2.662, allocations: 469.4 MB / 0.7423 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 70.3 kB / 0.9083 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3387, allocations: 159.1 MB / 1.064 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002866/0.3416, allocations: 0.8908 MB / 1.065 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00017/0.3418, allocations: 39.8 kB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.3419, allocations: 4 kB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.058e-05/0.342, allocations: 7.922 kB / 1.065 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.435e-05/0.3421, allocations: 11.94 kB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.273e-05/0.3421, allocations: 11.98 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.3422, allocations: 59.86 kB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.3424, allocations: 47.95 kB / 1.065 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.085e-05/0.3425, allocations: 19.88 kB / 1.065 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.3426, allocations: 39.77 kB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3426, allocations: 4 kB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.984e-05/0.3426, allocations: 8 kB / 1.065 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.3427, allocations: 7.938 kB / 1.065 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.3427, allocations: 39.73 kB / 1.065 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.3428, allocations: 52.19 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3429, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3429, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.3429, allocations: 4 kB / 1.065 GB, free: 14.14 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.0005618/0.3434, allocations: 375.2 kB / 1.065 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.3435, allocations: 8.625 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.3436, allocations: 16.73 kB / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.3438, allocations: 196.1 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.3438, allocations: 8.375 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.3439, allocations: 4.375 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3441, allocations: 91.95 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3441, allocations: 4.125 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.3441, allocations: 7.938 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3441, allocations: 0 / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.3442, allocations: 43.91 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.3448, allocations: 432.6 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.547e-05/0.3449, allocations: 41.19 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.345, allocations: 21.84 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.345, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.345, allocations: 34.56 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.345, allocations: 0 / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.3452, allocations: 61.47 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.3453, allocations: 77.11 kB / 1.066 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.3454, allocations: 163.9 kB / 1.066 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3454, allocations: 25.7 kB / 1.066 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.3455, allocations: 104 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.3455, allocations: 7.906 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.3456, allocations: 17.97 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3457, allocations: 326.8 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.3457, allocations: 7.938 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.3458, allocations: 17.72 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.3458, allocations: 29.7 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3458, allocations: 0 / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.155e-05/0.3459, allocations: 57.55 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3459, allocations: 8 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3459, allocations: 3.938 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3459, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.346, allocations: 7.984 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.346, allocations: 4 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.318e-05/0.3461, allocations: 11.84 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.3461, allocations: 4 kB / 1.067 GB, free: 11.7 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.287e-05/0.3462, allocations: 109.9 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.3462, allocations: 12 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.3463, allocations: 15.8 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3463, allocations: 3.984 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3463, allocations: 4 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3463, allocations: 0 / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.3467, allocations: 474.8 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3467, allocations: 4.062 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.3468, allocations: 7.938 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3468, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.3468, allocations: 3.938 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3468, allocations: 4 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3468, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.807e-05/0.3469, allocations: 81.83 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.3469, allocations: 89.02 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.347, allocations: 4 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.958e-05/0.347, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.347, allocations: 3.984 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.347, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.335e-05/0.3471, allocations: 120.9 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.523e-06/0.3471, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001971/0.3473, allocations: 11.94 kB / 1.068 GB, free: 10.65 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.0001367/0.3475, allocations: 103.3 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.67e-05/0.3476, allocations: 19.94 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3476, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.3476, allocations: 7.938 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.3478, allocations: 11.94 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.3481, allocations: 212.8 kB / 1.068 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.3484, allocations: 0.6924 MB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.3484, allocations: 11.44 kB / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/0.3484, allocations: 0 / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of Templates: time 0.002398/0.3508, allocations: 0.8637 MB / 1.07 GB, free: 8.664 MB / 0.8419 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/jenkins1/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