Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001663/0.001663, allocations: 100.1 kB / 15.88 MB, free: 12 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.001953/0.001953, allocations: 200 kB / 16.79 MB, free: 6.828 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.665/1.665, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 437 MB / 0.7106 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 67.89 kB / 0.8692 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6957/0.6972, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002871/0.7001, allocations: 0.886 MB / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001745/0.7003, allocations: 39.78 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/0.7004, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.701e-05/0.7005, allocations: 7.922 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.571e-05/0.7006, allocations: 7.938 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.112e-05/0.7007, allocations: 12 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.7008, allocations: 55.84 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.701, allocations: 51.89 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.332e-05/0.7011, allocations: 27.8 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.7011, allocations: 23.86 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.7012, allocations: 4 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.7012, allocations: 4 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.7012, allocations: 11.92 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.7012, allocations: 27.81 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.7014, allocations: 61.86 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7014, allocations: 0 / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.965e-06/0.7014, allocations: 0 / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.7014, allocations: 3.938 kB / 1.018 GB, free: 1.617 MB / 0.7637 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.0005191/0.7019, allocations: 383.2 kB / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.702, allocations: 8.031 kB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.702, allocations: 8.844 kB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.7023, allocations: 196.1 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.7023, allocations: 8.375 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.7023, allocations: 8.375 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.7025, allocations: 99.78 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.7025, allocations: 192 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.7025, allocations: 7.938 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.7026, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/0.7026, allocations: 35.98 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006725/0.7033, allocations: 432.6 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.7034, allocations: 41.14 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/0.7035, allocations: 21.84 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.7035, allocations: 4 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.7035, allocations: 34.59 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.7035, allocations: 0 / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001852/0.7037, allocations: 61.38 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.7038, allocations: 81.11 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.704, allocations: 164.3 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.704, allocations: 25.7 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.7041, allocations: 108.2 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.7041, allocations: 11.89 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.7041, allocations: 13.72 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7043, allocations: 314.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.885e-05/0.7043, allocations: 11.98 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/0.7043, allocations: 17.72 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.7044, allocations: 33.66 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7044, allocations: 0 / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.304e-05/0.7045, allocations: 57.53 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7045, allocations: 8 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.7045, allocations: 11.88 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.7045, allocations: 0 / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.186e-05/0.7046, allocations: 7.938 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.7046, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.7046, allocations: 7.906 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.7046, allocations: 4.062 kB / 1.021 GB, free: 15.17 MB / 0.7794 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.0001046/0.7047, allocations: 113.8 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.7048, allocations: 11.89 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.7048, allocations: 15.81 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7048, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.7048, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.7049, allocations: 4 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.7053, allocations: 470.8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7053, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.846e-05/0.7053, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.7053, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.7053, allocations: 3.984 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7053, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7053, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.807e-05/0.7054, allocations: 81.84 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.7055, allocations: 96.94 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.7055, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.248e-05/0.7055, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.7056, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.7056, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.969e-05/0.7057, allocations: 121.3 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7057, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001877/0.7059, allocations: 12.03 kB / 1.021 GB, free: 14.13 MB / 0.7794 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.0001297/0.706, allocations: 99.23 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.116e-05/0.7061, allocations: 23.92 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7061, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.469e-05/0.7061, allocations: 8 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.7063, allocations: 13.34 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.7067, allocations: 206.4 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.707, allocations: 0.6965 MB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.707, allocations: 15.44 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.707, allocations: 0 / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of Templates: time 0.002268/0.7093, allocations: 0.8599 MB / 1.023 GB, free: 12.14 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches