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.002165/0.002165, allocations: 108 kB / 15.61 MB, free: 152 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.002106/0.002107, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.532/1.532, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.568/2.568, allocations: 390.2 MB / 0.6646 GB, free: 376 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 0.8125 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9406/0.9419, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.002812/0.9448, allocations: 0.6683 MB / 0.9502 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.9462, allocations: 0.803 MB / 0.951 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.9463, allocations: 0 / 0.951 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.949e-05/0.9463, allocations: 3.938 kB / 0.951 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.574e-05/0.9464, allocations: 1.219 kB / 0.951 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.9466, allocations: 17.45 kB / 0.951 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.9467, allocations: 21.17 kB / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.9469, allocations: 7.703 kB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.949e-05/0.947, allocations: 6.969 kB / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.947, allocations: 15.11 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.9471, allocations: 2.219 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.9471, allocations: 1.094 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.9471, allocations: 1 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.9472, allocations: 14.09 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.9473, allocations: 28.2 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.9473, allocations: 0 / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.035e-06/0.9473, allocations: 0 / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.9473, allocations: 1.625 kB / 0.9511 GB, free: 7.887 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.0005131/0.9478, allocations: 337.9 kB / 0.9515 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.9479, allocations: 9.969 kB / 0.9515 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.948, allocations: 2.531 kB / 0.9515 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.9481, allocations: 168.3 kB / 0.9516 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.9481, allocations: 2.062 kB / 0.9516 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.9481, allocations: 6.062 kB / 0.9516 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.9484, allocations: 48.33 kB / 0.9517 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.9484, allocations: 1.25 kB / 0.9517 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.9484, allocations: 3.938 kB / 0.9517 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.9484, allocations: 1.031 kB / 0.9517 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.9486, allocations: 33.69 kB / 0.9517 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.949, allocations: 252.8 kB / 0.952 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.9491, allocations: 39.38 kB / 0.952 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.639e-05/0.9492, allocations: 22.91 kB / 0.952 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.9493, allocations: 2 kB / 0.952 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.9493, allocations: 38.55 kB / 0.9521 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.9493, allocations: 0 / 0.9521 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003916/0.9497, allocations: 84.3 kB / 0.9521 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.9497, allocations: 57.02 kB / 0.9522 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.9498, allocations: 97.39 kB / 0.9523 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.9499, allocations: 26.55 kB / 0.9523 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.9499, allocations: 80.98 kB / 0.9524 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.9499, allocations: 13.03 kB / 0.9524 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.95, allocations: 20.61 kB / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.9501, allocations: 316.2 kB / 0.9527 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.9501, allocations: 12.36 kB / 0.9527 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.322e-05/0.9502, allocations: 21.73 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.9504, allocations: 47.28 kB / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.9504, allocations: 0 / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002094/0.9506, allocations: 65.14 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.9506, allocations: 8.109 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.9507, allocations: 5.25 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.9507, allocations: 0 / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.9508, allocations: 6.969 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.9508, allocations: 4.031 kB / 0.9529 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.041e-05/0.9509, allocations: 7.047 kB / 0.9529 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.9509, allocations: 1.688 kB / 0.9529 GB, free: 6.062 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 8.289e-05/0.951, allocations: 115.3 kB / 0.953 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.951, allocations: 4.938 kB / 0.953 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.9513, allocations: 70.44 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.9513, allocations: 8.016 kB / 0.9531 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.9513, allocations: 0.9375 kB / 0.9531 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.9513, allocations: 0 / 0.9531 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.9515, allocations: 158.4 kB / 0.9532 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.9515, allocations: 0 / 0.9532 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/0.9516, allocations: 13.58 kB / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9516, allocations: 1.656 kB / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.9516, allocations: 0 / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9516, allocations: 0 / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9516, allocations: 1.5 kB / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.9519, allocations: 165.8 kB / 0.9534 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.9519, allocations: 78.39 kB / 0.9535 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.9519, allocations: 1.281 kB / 0.9535 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.952, allocations: 14.55 kB / 0.9535 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/0.9521, allocations: 2.438 kB / 0.9535 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.9521, allocations: 4.031 kB / 0.9535 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.803e-05/0.9521, allocations: 83.08 kB / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9521, allocations: 0 / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002206/0.9524, allocations: 3.375 kB / 0.9536 GB, free: 5.324 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.0002091/0.9526, allocations: 98.19 kB / 0.9537 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.9528, allocations: 37 kB / 0.9537 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.9528, allocations: 4.062 kB / 0.9537 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.923e-05/0.9529, allocations: 27.69 kB / 0.9538 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.9533, allocations: 8.594 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.9537, allocations: 113.5 kB / 0.9539 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.9539, allocations: 0.6764 MB / 0.9545 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.954, allocations: 8.047 kB / 0.9545 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.954, allocations: 8.688 kB / 0.9546 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of SimCode: time 8.71e-07/0.954, allocations: 1.312 kB / 0.9546 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of Templates: time 0.003315/0.9573, allocations: 434.7 kB / 0.955 GB, free: 4.148 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