Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.009552/0.009552, allocations: 171.3 kB / 16.26 MB, free: 6.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.53/1.53, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.58/2.58, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.000396, allocations: 15.98 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.009, allocations: 142.4 MB / 0.9551 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.001109/1.01, allocations: 397.5 kB / 0.9554 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0011/1.011, allocations: 0.8012 MB / 0.9562 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/1.011, allocations: 1.188 kB / 0.9562 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/1.011, allocations: 4 kB / 0.9562 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.66e-05/1.011, allocations: 9.078 kB / 0.9562 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000155/1.012, allocations: 9.062 kB / 0.9562 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.433e-05/1.012, allocations: 24.83 kB / 0.9563 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/1.012, allocations: 3.688 kB / 0.9563 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.642e-05/1.012, allocations: 6.609 kB / 0.9563 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/1.012, allocations: 14.83 kB / 0.9563 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/1.012, allocations: 1.438 kB / 0.9563 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/1.012, allocations: 1.5 kB / 0.9563 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/1.012, allocations: 4 kB / 0.9563 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/1.012, allocations: 39.09 kB / 0.9563 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.093e-05/1.012, allocations: 16.28 kB / 0.9563 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/1.012, allocations: 0 / 0.9563 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/1.012, allocations: 1.156 kB / 0.9563 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.511e-06/1.012, allocations: 0 / 0.9563 GB, free: 6.711 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004445/1.013, allocations: 340.9 kB / 0.9567 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/1.013, allocations: 13.56 kB / 0.9567 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/1.013, allocations: 2.281 kB / 0.9567 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/1.013, allocations: 161.9 kB / 0.9568 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/1.013, allocations: 0.9375 kB / 0.9568 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/1.013, allocations: 1.5 kB / 0.9568 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/1.013, allocations: 63.22 kB / 0.9569 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.013, allocations: 192 / 0.9569 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/1.013, allocations: 7.938 kB / 0.9569 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.013, allocations: 0.875 kB / 0.9569 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/1.013, allocations: 44.11 kB / 0.957 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/1.014, allocations: 245.2 kB / 0.9572 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/1.014, allocations: 51.23 kB / 0.9572 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/1.014, allocations: 27.78 kB / 0.9573 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/1.014, allocations: 9.172 kB / 0.9573 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/1.014, allocations: 35.78 kB / 0.9573 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/1.014, allocations: 0 / 0.9573 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004177/1.014, allocations: 98.86 kB / 0.9574 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/1.014, allocations: 52.75 kB / 0.9575 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.654e-05/1.014, allocations: 98.28 kB / 0.9575 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/1.014, allocations: 29.7 kB / 0.9576 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/1.015, allocations: 81.17 kB / 0.9577 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/1.015, allocations: 8.844 kB / 0.9577 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/1.015, allocations: 10.81 kB / 0.9577 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.253e-05/1.015, allocations: 315.8 kB / 0.958 GB, free: 5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-05/1.015, allocations: 25.7 kB / 0.958 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.656e-05/1.015, allocations: 26.62 kB / 0.958 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/1.015, allocations: 49.58 kB / 0.9581 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.015, allocations: 3.938 kB / 0.9581 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002117/1.015, allocations: 86.72 kB / 0.9582 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.015, allocations: 4.625 kB / 0.9582 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.015, allocations: 0 / 0.9582 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.015, allocations: 1.469 kB / 0.9582 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/1.015, allocations: 11.36 kB / 0.9582 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/1.015, allocations: 1.656 kB / 0.9582 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/1.015, allocations: 4.906 kB / 0.9582 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/1.015, allocations: 1.219 kB / 0.9582 GB, free: 4.887 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 6.399e-05/1.016, allocations: 127.1 kB / 0.9583 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/1.016, allocations: 2.375 kB / 0.9583 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/1.016, allocations: 75.56 kB / 0.9584 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.016, allocations: 4.031 kB / 0.9584 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.016, allocations: 1.75 kB / 0.9584 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.016, allocations: 0 / 0.9584 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/1.016, allocations: 161.1 kB / 0.9585 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.016, allocations: 1.812 kB / 0.9585 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/1.016, allocations: 11.14 kB / 0.9585 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/1.016, allocations: 1.844 kB / 0.9585 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/1.016, allocations: 0 / 0.9585 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.016, allocations: 4 kB / 0.9586 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.016, allocations: 4 kB / 0.9586 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/1.016, allocations: 176.4 kB / 0.9587 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/1.016, allocations: 78.45 kB / 0.9588 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/1.016, allocations: 9.297 kB / 0.9588 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/1.016, allocations: 5.375 kB / 0.9588 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/1.017, allocations: 5.109 kB / 0.9588 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/1.017, allocations: 1.312 kB / 0.9588 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.801e-05/1.017, allocations: 83.31 kB / 0.9589 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/1.017, allocations: 0 / 0.9589 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002147/1.017, allocations: 3.656 kB / 0.9589 GB, free: 4.145 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001557/1.017, allocations: 101.1 kB / 0.959 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002412/1.017, allocations: 51.14 kB / 0.959 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.017, allocations: 0 / 0.959 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.518e-05/1.017, allocations: 28.11 kB / 0.9591 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/1.018, allocations: 8.203 kB / 0.9591 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/1.018, allocations: 107.5 kB / 0.9592 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/1.018, allocations: 0.6776 MB / 0.9598 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.45e-05/1.018, allocations: 0 / 0.9598 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/1.018, allocations: 12.69 kB / 0.9599 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/1.018, allocations: 0 / 0.9599 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.002971/1.021, allocations: 373.5 kB / 0.9602 GB, free: 2.996 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches