Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001559/0.001559, allocations: 102.9 kB / 16.35 MB, free: 5.875 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.001697/0.001697, allocations: 191 kB / 17.29 MB, free: 5.516 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 71.28 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3161, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002164/0.3183, allocations: 0.8231 MB / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001129/0.3184, allocations: 43.84 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.3185, allocations: 0 / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.117e-05/0.3185, allocations: 11.86 kB / 0.952 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.567e-05/0.3186, allocations: 11.88 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.617e-05/0.3187, allocations: 15.98 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.3188, allocations: 59.84 kB / 0.9521 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.3189, allocations: 39.97 kB / 0.9521 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.319, allocations: 23.88 kB / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.063e-05/0.3191, allocations: 31.78 kB / 0.9522 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.3191, allocations: 8 kB / 0.9522 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-06/0.3191, allocations: 4 kB / 0.9522 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.3191, allocations: 19.92 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.3192, allocations: 31.8 kB / 0.9522 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.3193, allocations: 71.66 kB / 0.9523 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3193, allocations: 0 / 0.9523 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3193, allocations: 4 kB / 0.9523 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.3193, allocations: 0 / 0.9523 GB, free: 6.859 MB / 0.7325 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.0004442/0.3198, allocations: 383.1 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3198, allocations: 12.03 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.3199, allocations: 8.844 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.3201, allocations: 192.1 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3201, allocations: 8.375 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.3201, allocations: 8.375 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.3203, allocations: 103.8 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.3203, allocations: 192 / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3203, allocations: 7.938 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.3203, allocations: 4 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.138e-05/0.3204, allocations: 35.92 kB / 0.953 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.3209, allocations: 432.7 kB / 0.9534 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.754e-05/0.321, allocations: 37.31 kB / 0.9535 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.321, allocations: 25.7 kB / 0.9535 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/0.3211, allocations: 0 / 0.9535 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.3211, allocations: 30.56 kB / 0.9535 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3211, allocations: 4 kB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001685/0.3213, allocations: 57.48 kB / 0.9536 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.3213, allocations: 81.11 kB / 0.9537 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3215, allocations: 163.8 kB / 0.9538 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.3215, allocations: 29.64 kB / 0.9538 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.3216, allocations: 108 kB / 0.9539 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.675e-06/0.3216, allocations: 3.906 kB / 0.9539 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.3216, allocations: 21.95 kB / 0.954 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3217, allocations: 322.8 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.3218, allocations: 4 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.143e-05/0.3218, allocations: 25.69 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.3218, allocations: 25.66 kB / 0.9543 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3219, allocations: 0 / 0.9543 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.654e-05/0.3219, allocations: 69.53 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.322, allocations: 4 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.322, allocations: 7.922 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.322, allocations: 0 / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.714e-05/0.3221, allocations: 8 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3221, allocations: 0 / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.3221, allocations: 7.844 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3221, allocations: 4 kB / 0.9544 GB, free: 4.406 MB / 0.7325 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.507e-05/0.3222, allocations: 119.8 kB / 0.9545 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.3222, allocations: 11.97 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.3223, allocations: 15.8 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3223, allocations: 4 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3223, allocations: 0 / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3223, allocations: 0 / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.3227, allocations: 470.8 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3227, allocations: 0 / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/0.3227, allocations: 8.062 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3227, allocations: 0 / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3227, allocations: 0 / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3227, allocations: 4 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3228, allocations: 3.938 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.99e-05/0.3228, allocations: 81.83 kB / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.3229, allocations: 89 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.3229, allocations: 4.031 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.879e-05/0.3229, allocations: 0 / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.323, allocations: 0 / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.323, allocations: 4 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001039/0.3231, allocations: 126.3 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3231, allocations: 0 / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001804/0.3233, allocations: 4 kB / 0.9553 GB, free: 3.371 MB / 0.7325 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.0001263/0.3234, allocations: 99.25 kB / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.835e-05/0.3235, allocations: 23.92 kB / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3235, allocations: 4 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.909e-06/0.3235, allocations: 7.938 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.3237, allocations: 7.938 kB / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.324, allocations: 166.8 kB / 0.9556 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.3244, allocations: 0.7042 MB / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.719e-05/0.3244, allocations: 4.438 kB / 0.9563 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.3244, allocations: 11.44 kB / 0.9563 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.3244, allocations: 0 / 0.9563 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of Templates: time 0.002682/0.3271, allocations: 446.9 kB / 0.9568 GB, free: 1.844 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches