Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.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.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009867/0.0009865, allocations: 91.38 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.008284/0.008284, allocations: 171.8 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.499/1.499, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.551/2.551, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004186, allocations: 15.98 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.015, allocations: 142.4 MB / 0.9551 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.001022/1.016, allocations: 392.1 kB / 0.9554 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00107/1.017, allocations: 0.8032 MB / 0.9562 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/1.017, allocations: 0 / 0.9562 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/1.017, allocations: 0 / 0.9562 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.537e-05/1.017, allocations: 5.125 kB / 0.9562 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/1.017, allocations: 9.328 kB / 0.9562 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.737e-05/1.018, allocations: 13.78 kB / 0.9563 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/1.018, allocations: 14.42 kB / 0.9563 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/1.018, allocations: 6.766 kB / 0.9563 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/1.018, allocations: 15.42 kB / 0.9563 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/1.018, allocations: 0.9688 kB / 0.9563 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/1.018, allocations: 4.906 kB / 0.9563 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/1.018, allocations: 0 / 0.9563 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/1.018, allocations: 32.02 kB / 0.9563 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.622e-05/1.018, allocations: 24.42 kB / 0.9563 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.018, allocations: 0 / 0.9563 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.063e-06/1.018, allocations: 0 / 0.9563 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.398e-06/1.018, allocations: 4 kB / 0.9564 GB, free: 6.961 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.000458/1.019, allocations: 337.6 kB / 0.9567 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.019, allocations: 14.2 kB / 0.9567 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/1.019, allocations: 2.188 kB / 0.9567 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/1.019, allocations: 161.4 kB / 0.9568 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/1.019, allocations: 1.5 kB / 0.9568 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/1.019, allocations: 1.531 kB / 0.9568 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/1.019, allocations: 62.03 kB / 0.9569 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/1.019, allocations: 192 / 0.9569 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.019, allocations: 5.188 kB / 0.9569 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.019, allocations: 0 / 0.9569 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/1.019, allocations: 52.05 kB / 0.957 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/1.02, allocations: 249 kB / 0.9572 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/1.02, allocations: 47.75 kB / 0.9572 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.575e-05/1.02, allocations: 31.91 kB / 0.9573 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/1.02, allocations: 5.516 kB / 0.9573 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/1.02, allocations: 30.56 kB / 0.9573 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/1.02, allocations: 0 / 0.9573 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003786/1.02, allocations: 99.11 kB / 0.9574 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/1.02, allocations: 52.59 kB / 0.9575 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.01e-05/1.02, allocations: 98.58 kB / 0.9575 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/1.02, allocations: 25.7 kB / 0.9576 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/1.02, allocations: 89.42 kB / 0.9577 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/1.021, allocations: 9.031 kB / 0.9577 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/1.021, allocations: 14.73 kB / 0.9577 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.487e-05/1.021, allocations: 312 kB / 0.958 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.579e-05/1.021, allocations: 22.36 kB / 0.958 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.639e-05/1.021, allocations: 21.7 kB / 0.958 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/1.021, allocations: 53.81 kB / 0.9581 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.021, allocations: 3.938 kB / 0.9581 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001954/1.021, allocations: 81.98 kB / 0.9582 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.021, allocations: 5.75 kB / 0.9582 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.021, allocations: 3.984 kB / 0.9582 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/1.021, allocations: 0 / 0.9582 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/1.021, allocations: 12.75 kB / 0.9582 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/1.021, allocations: 0 / 0.9582 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.041e-05/1.021, allocations: 10.58 kB / 0.9582 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/1.021, allocations: 1.188 kB / 0.9582 GB, free: 5.137 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.377e-05/1.021, allocations: 111.1 kB / 0.9583 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/1.022, allocations: 1.281 kB / 0.9583 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/1.022, allocations: 87.62 kB / 0.9584 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.022, allocations: 5.047 kB / 0.9584 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.022, allocations: 0 / 0.9584 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.022, allocations: 1.312 kB / 0.9584 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/1.022, allocations: 161.4 kB / 0.9585 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.022, allocations: 0 / 0.9585 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/1.022, allocations: 17.05 kB / 0.9586 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.022, allocations: 0 / 0.9586 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/1.022, allocations: 1.281 kB / 0.9586 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.022, allocations: 0 / 0.9586 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.022, allocations: 0 / 0.9586 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/1.022, allocations: 185.5 kB / 0.9587 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/1.022, allocations: 78.36 kB / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/1.022, allocations: 0 / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/1.022, allocations: 10.52 kB / 0.9588 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/1.022, allocations: 5.5 kB / 0.9588 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/1.022, allocations: 0 / 0.9588 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.044e-05/1.023, allocations: 91.17 kB / 0.9589 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.023, allocations: 0 / 0.9589 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002122/1.023, allocations: 3.25 kB / 0.9589 GB, free: 4.391 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.000132/1.023, allocations: 97.59 kB / 0.959 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002328/1.023, allocations: 47.81 kB / 0.959 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.023, allocations: 0 / 0.959 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.329e-05/1.023, allocations: 28.53 kB / 0.9591 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/1.024, allocations: 11.42 kB / 0.9591 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/1.024, allocations: 107.3 kB / 0.9592 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/1.024, allocations: 0.677 MB / 0.9598 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.439e-05/1.024, allocations: 1.281 kB / 0.9599 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/1.024, allocations: 8.75 kB / 0.9599 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of SimCode: time 6.01e-07/1.024, allocations: 0 / 0.9599 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of Templates: time 0.00272/1.027, allocations: 371.1 kB / 0.9602 GB, free: 3.25 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches