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.001346/0.001346, allocations: 101.8 kB / 16.35 MB, free: 5.824 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.001352/0.001352, allocations: 195.7 kB / 17.3 MB, free: 5.48 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.14 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.481/2.481, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 62.33 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3517, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002369/0.3542, allocations: 0.8353 MB / 0.9519 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001247/0.3543, allocations: 39.78 kB / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.3544, allocations: 4 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.3544, allocations: 11.86 kB / 0.952 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.3545, allocations: 7.938 kB / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.191e-05/0.3545, allocations: 19.98 kB / 0.952 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.3547, allocations: 59.78 kB / 0.9521 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.3548, allocations: 51.94 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.243e-05/0.3549, allocations: 19.94 kB / 0.9521 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.355, allocations: 35.78 kB / 0.9522 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.355, allocations: 4 kB / 0.9522 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.3551, allocations: 8 kB / 0.9522 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.3551, allocations: 7.938 kB / 0.9522 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.3551, allocations: 39.73 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.3552, allocations: 71.7 kB / 0.9523 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3553, allocations: 4 kB / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3553, allocations: 0 / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3553, allocations: 0 / 0.9523 GB, free: 6.828 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.0004867/0.3558, allocations: 383.1 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3558, allocations: 12.03 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.3559, allocations: 8.844 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.3561, allocations: 200.1 kB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3561, allocations: 4.375 kB / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.3561, allocations: 8.375 kB / 0.9529 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.3563, allocations: 91.86 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3563, allocations: 192 / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3563, allocations: 7.938 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.3563, allocations: 8 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.3564, allocations: 35.92 kB / 0.953 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.357, allocations: 428.6 kB / 0.9534 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.324e-05/0.357, allocations: 45.33 kB / 0.9535 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.3571, allocations: 21.78 kB / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.3571, allocations: 0 / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3571, allocations: 34.56 kB / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3571, allocations: 3.938 kB / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001829/0.3573, allocations: 53.48 kB / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.3574, allocations: 85.34 kB / 0.9537 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.3576, allocations: 163.8 kB / 0.9538 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.3576, allocations: 29.64 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.3577, allocations: 104 kB / 0.9539 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-06/0.3577, allocations: 11.91 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.3578, allocations: 17.7 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.358, allocations: 314.8 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.358, allocations: 11.98 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/0.358, allocations: 17.72 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.965e-05/0.3581, allocations: 25.72 kB / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3581, allocations: 4 kB / 0.9543 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.909e-05/0.3582, allocations: 57.53 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3582, allocations: 4 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3582, allocations: 3.938 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3582, allocations: 8.062 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.967e-05/0.3583, allocations: 4 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3583, allocations: 0 / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.906e-05/0.3583, allocations: 15.84 kB / 0.9544 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.3583, allocations: 0 / 0.9544 GB, free: 4.387 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.311e-05/0.3584, allocations: 124.8 kB / 0.9545 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.3585, allocations: 7.906 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.403e-05/0.3585, allocations: 15.8 kB / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3585, allocations: 0 / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3585, allocations: 4 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3585, allocations: 0 / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.3589, allocations: 470.8 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3589, allocations: 0 / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.3589, allocations: 4 kB / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.359, allocations: 0 / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.359, allocations: 4 kB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.359, allocations: 7.984 kB / 0.955 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.359, allocations: 4.062 kB / 0.955 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.758e-05/0.3591, allocations: 73.94 kB / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.3591, allocations: 96.98 kB / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3592, allocations: 0 / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.971e-05/0.3592, allocations: 0 / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.3592, allocations: 7.938 kB / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.3592, allocations: 4.031 kB / 0.9552 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002181/0.3594, allocations: 122.3 kB / 0.9553 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3594, allocations: 0 / 0.9553 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001858/0.3596, allocations: 11.94 kB / 0.9553 GB, free: 3.34 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.0001343/0.3598, allocations: 99.25 kB / 0.9554 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.999e-05/0.3599, allocations: 19.98 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3599, allocations: 0 / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.333e-05/0.3599, allocations: 12.06 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.0001636/0.3601, allocations: 14.28 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.0003142/0.3604, allocations: 158.8 kB / 0.9556 GB, free: 3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3607, allocations: 0.7 MB / 0.9563 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.411e-05/0.3608, allocations: 8.562 kB / 0.9563 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.3608, allocations: 11.44 kB / 0.9563 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.3608, allocations: 0 / 0.9563 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of Templates: time 0.002443/0.3633, allocations: 448.5 kB / 0.9568 GB, free: 1.816 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 cvode -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