Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002506/0.002516, allocations: 110.4 kB / 16.37 MB, free: 6.012 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.001921/0.001921, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.17 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.577/2.577, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 63.64 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3362, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002905/0.3392, allocations: 0.8326 MB / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000159/0.3393, allocations: 43.78 kB / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.061e-05/0.3394, allocations: 7.938 kB / 0.952 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.742e-05/0.3395, allocations: 7.922 kB / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.385e-05/0.3396, allocations: 7.875 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.69e-05/0.3397, allocations: 15.98 kB / 0.952 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.3398, allocations: 59.84 kB / 0.9521 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.34, allocations: 47.91 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.3401, allocations: 23.86 kB / 0.9521 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.502e-05/0.3401, allocations: 31.84 kB / 0.9522 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.3402, allocations: 4 kB / 0.9522 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.3402, allocations: 8 kB / 0.9522 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.3402, allocations: 15.94 kB / 0.9522 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.3403, allocations: 35.73 kB / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.3404, allocations: 75.64 kB / 0.9523 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3404, allocations: 4 kB / 0.9523 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.986e-06/0.3404, allocations: 0 / 0.9523 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.3404, allocations: 0 / 0.9523 GB, free: 6.82 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.0005646/0.341, allocations: 383.1 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3411, allocations: 8.031 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.3411, allocations: 8.844 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.3414, allocations: 192.2 kB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3414, allocations: 8.312 kB / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3414, allocations: 16.36 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3416, allocations: 87.86 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3416, allocations: 192 / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3416, allocations: 7.938 kB / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.3416, allocations: 4 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.792e-05/0.3417, allocations: 39.92 kB / 0.953 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.3423, allocations: 428.7 kB / 0.9534 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.874e-05/0.3424, allocations: 37.25 kB / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.3424, allocations: 21.77 kB / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-06/0.3424, allocations: 4 kB / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3424, allocations: 34.56 kB / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3425, allocations: 0 / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001856/0.3426, allocations: 53.48 kB / 0.9536 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.3427, allocations: 81.11 kB / 0.9537 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.3429, allocations: 163.4 kB / 0.9538 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3429, allocations: 29.7 kB / 0.9539 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.343, allocations: 112 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.967e-06/0.343, allocations: 11.84 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.3431, allocations: 25.64 kB / 0.954 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3432, allocations: 310.8 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.3432, allocations: 11.98 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.3433, allocations: 25.64 kB / 0.9543 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.1e-05/0.3433, allocations: 25.72 kB / 0.9543 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3433, allocations: 4 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.317e-05/0.3434, allocations: 57.53 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3434, allocations: 4 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3435, allocations: 3.938 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3435, allocations: 4 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.593e-05/0.3435, allocations: 8 kB / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3436, allocations: 64 / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.467e-05/0.3436, allocations: 15.84 kB / 0.9544 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.3436, allocations: 0 / 0.9544 GB, free: 4.375 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 0.0001035/0.3437, allocations: 113.8 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.3438, allocations: 7.906 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.3438, allocations: 15.8 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3438, allocations: 0 / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3438, allocations: 0 / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3438, allocations: 0 / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.3443, allocations: 474.8 kB / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3443, allocations: 0 / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.3443, allocations: 4 kB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3443, allocations: 0 / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.3443, allocations: 7.938 kB / 0.955 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3443, allocations: 4 kB / 0.955 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3443, allocations: 3.984 kB / 0.955 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.3445, allocations: 81.91 kB / 0.9551 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.3445, allocations: 89 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3445, allocations: 0 / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.015e-05/0.3446, allocations: 0 / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.3446, allocations: 4 kB / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.3446, allocations: 0 / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001154/0.3447, allocations: 121.3 kB / 0.9553 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.853e-06/0.3447, allocations: 4 kB / 0.9553 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001927/0.3449, allocations: 15.94 kB / 0.9553 GB, free: 3.336 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.0001541/0.3451, allocations: 101.7 kB / 0.9554 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.3452, allocations: 19.98 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3452, allocations: 0 / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.284e-05/0.3452, allocations: 7.938 kB / 0.9555 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.3454, allocations: 14.53 kB / 0.9555 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.3458, allocations: 166.8 kB / 0.9556 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.3461, allocations: 0.7 MB / 0.9563 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.718e-05/0.3462, allocations: 4.438 kB / 0.9563 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.3462, allocations: 11.44 kB / 0.9563 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.3462, allocations: 0 / 0.9563 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.002736/0.3489, allocations: 456.6 kB / 0.9568 GB, free: 1.805 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches