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.0009108/0.0009148, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 172.4 kB / 16.92 MB, free: 6.652 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.481/1.481, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.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.46/2.46, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003859, allocations: 12 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7623/0.7627, allocations: 142.4 MB / 0.9557 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001023/0.7638, allocations: 0.5413 MB / 0.9562 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001028/0.7639, allocations: 40.84 kB / 0.9563 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.7639, allocations: 1.469 kB / 0.9563 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.764, allocations: 11.86 kB / 0.9563 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.895e-05/0.764, allocations: 5.219 kB / 0.9563 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.205e-05/0.7641, allocations: 11.25 kB / 0.9563 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.72e-05/0.7642, allocations: 55.53 kB / 0.9564 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.7643, allocations: 37.94 kB / 0.9564 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.7644, allocations: 25.48 kB / 0.9564 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.244e-05/0.7645, allocations: 20.05 kB / 0.9564 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.7645, allocations: 2.375 kB / 0.9564 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.7645, allocations: 1.031 kB / 0.9564 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.7645, allocations: 14.17 kB / 0.9565 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.7646, allocations: 47.61 kB / 0.9565 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.284e-05/0.7646, allocations: 56.11 kB / 0.9565 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7646, allocations: 0 / 0.9565 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7647, allocations: 0 / 0.9565 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.7647, allocations: 0 / 0.9565 GB, free: 7.062 MB / 0.7169 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.0003252/0.765, allocations: 361.3 kB / 0.9569 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.765, allocations: 10.28 kB / 0.9569 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.7651, allocations: 16.62 kB / 0.9569 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.7653, allocations: 194.5 kB / 0.9571 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.7653, allocations: 12.34 kB / 0.9571 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.7653, allocations: 8.531 kB / 0.9571 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.7655, allocations: 94.66 kB / 0.9572 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.7655, allocations: 0.875 kB / 0.9572 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.7655, allocations: 8.938 kB / 0.9572 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.7655, allocations: 6.078 kB / 0.9572 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.7656, allocations: 35.08 kB / 0.9573 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.766, allocations: 437.9 kB / 0.9577 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.455e-05/0.7661, allocations: 37.66 kB / 0.9577 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.7661, allocations: 23.33 kB / 0.9577 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.273e-06/0.7661, allocations: 5.094 kB / 0.9577 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.7662, allocations: 31.75 kB / 0.9578 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.7662, allocations: 0 / 0.9578 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001549/0.7663, allocations: 55.36 kB / 0.9578 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.7664, allocations: 82.02 kB / 0.9579 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.7665, allocations: 164.4 kB / 0.9581 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.7665, allocations: 29.7 kB / 0.9581 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.7666, allocations: 108.5 kB / 0.9582 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-06/0.7666, allocations: 5.031 kB / 0.9582 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.92e-05/0.7666, allocations: 10.75 kB / 0.9582 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.7667, allocations: 321 kB / 0.9585 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.7667, allocations: 6.969 kB / 0.9585 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.7667, allocations: 18.77 kB / 0.9585 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.675e-05/0.7667, allocations: 30.41 kB / 0.9586 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.7667, allocations: 1.125 kB / 0.9586 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.269e-05/0.7668, allocations: 58.22 kB / 0.9586 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.7668, allocations: 5.5 kB / 0.9586 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.7669, allocations: 5.406 kB / 0.9586 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.7669, allocations: 0 / 0.9586 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.024e-05/0.7669, allocations: 6.094 kB / 0.9586 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.7669, allocations: 0 / 0.9586 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.767, allocations: 10.28 kB / 0.9587 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-06/0.767, allocations: 2.062 kB / 0.9587 GB, free: 4.906 MB / 0.7169 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 5.67e-05/0.767, allocations: 117.2 kB / 0.9588 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.7671, allocations: 7.312 kB / 0.9588 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.7671, allocations: 18.89 kB / 0.9588 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.7671, allocations: 1 kB / 0.9588 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.7671, allocations: 4.906 kB / 0.9588 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7671, allocations: 4.906 kB / 0.9588 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.7674, allocations: 477.7 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7675, allocations: 1.531 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.7675, allocations: 2.562 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7675, allocations: 1.5 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.7675, allocations: 0 / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.7675, allocations: 1.188 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7675, allocations: 0 / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.004e-05/0.7676, allocations: 83.52 kB / 0.9593 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.7676, allocations: 95.09 kB / 0.9594 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.7676, allocations: 1.188 kB / 0.9594 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.96e-05/0.7677, allocations: 5.156 kB / 0.9594 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.7677, allocations: 0.9688 kB / 0.9594 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.7677, allocations: 1.469 kB / 0.9594 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.069e-05/0.7678, allocations: 119.7 kB / 0.9596 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7678, allocations: 4 kB / 0.9596 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001827/0.768, allocations: 7.188 kB / 0.9596 GB, free: 3.949 MB / 0.7169 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.0001057/0.7681, allocations: 96.38 kB / 0.9597 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.359e-05/0.7681, allocations: 14.34 kB / 0.9597 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7682, allocations: 0 / 0.9597 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-05/0.7682, allocations: 16.7 kB / 0.9597 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.7683, allocations: 12.78 kB / 0.9597 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.7686, allocations: 203 kB / 0.9599 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.7688, allocations: 0.6988 MB / 0.9606 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.7688, allocations: 10.66 kB / 0.9606 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7688, allocations: 3.938 kB / 0.9606 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of Templates: time 0.002138/0.7709, allocations: 0.8449 MB / 0.9614 GB, free: 2.48 MB / 0.7169 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 -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