Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.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.CDL.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008784/0.0008823, 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.0012/0.001199, 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.32 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.44/2.44, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004255/0.000426, allocations: 16 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7542/0.7546, allocations: 142.4 MB / 0.9557 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.0008181/0.7555, allocations: 409.1 kB / 0.9561 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007007/0.7562, allocations: 0.7833 MB / 0.9569 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.7562, allocations: 0.9062 kB / 0.9569 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.7563, allocations: 3.938 kB / 0.9569 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.779e-05/0.7563, allocations: 1.062 kB / 0.9569 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.107e-05/0.7564, allocations: 13.08 kB / 0.9569 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.755e-05/0.7565, allocations: 21.09 kB / 0.9569 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.7566, allocations: 11.66 kB / 0.9569 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.7566, allocations: 2.906 kB / 0.9569 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.983e-05/0.7567, allocations: 14.08 kB / 0.9569 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.7567, allocations: 1.156 kB / 0.9569 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-06/0.7567, allocations: 1.219 kB / 0.957 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.7567, allocations: 1.062 kB / 0.957 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.7568, allocations: 35.55 kB / 0.957 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.016e-05/0.7568, allocations: 18.86 kB / 0.957 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7568, allocations: 0.875 kB / 0.957 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7568, allocations: 0 / 0.957 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.7568, allocations: 1.094 kB / 0.957 GB, free: 6.82 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.0003509/0.7572, allocations: 341.5 kB / 0.9573 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.7572, allocations: 9.781 kB / 0.9573 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.7573, allocations: 2 kB / 0.9573 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.7574, allocations: 178.3 kB / 0.9575 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.7574, allocations: 1.625 kB / 0.9575 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-06/0.7574, allocations: 1.438 kB / 0.9575 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.7576, allocations: 54.05 kB / 0.9576 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.7576, allocations: 192 / 0.9576 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.7576, allocations: 4.844 kB / 0.9576 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.7576, allocations: 4 kB / 0.9576 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.7578, allocations: 48.45 kB / 0.9576 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.7581, allocations: 254.4 kB / 0.9579 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.7582, allocations: 51.89 kB / 0.9579 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.426e-05/0.7583, allocations: 29.69 kB / 0.9579 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.7583, allocations: 1.156 kB / 0.9579 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.7583, allocations: 30.56 kB / 0.958 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7583, allocations: 5.094 kB / 0.958 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003397/0.7587, allocations: 95.02 kB / 0.9581 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.7587, allocations: 60.53 kB / 0.9581 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.245e-05/0.7588, allocations: 104.4 kB / 0.9582 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.7588, allocations: 25.7 kB / 0.9583 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.7588, allocations: 85.55 kB / 0.9583 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.7588, allocations: 7.891 kB / 0.9583 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.7589, allocations: 11.19 kB / 0.9583 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.131e-05/0.7589, allocations: 316.2 kB / 0.9587 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.759, allocations: 25.73 kB / 0.9587 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.7591, allocations: 21.84 kB / 0.9587 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.7592, allocations: 53.17 kB / 0.9587 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7593, allocations: 1.531 kB / 0.9587 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001849/0.7594, allocations: 81.06 kB / 0.9588 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.7595, allocations: 7.156 kB / 0.9588 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.7595, allocations: 4.031 kB / 0.9588 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.7595, allocations: 1.281 kB / 0.9588 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.55e-05/0.7596, allocations: 12.36 kB / 0.9588 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.7596, allocations: 0 / 0.9588 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.7596, allocations: 6 kB / 0.9589 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.7597, allocations: 1.344 kB / 0.9589 GB, free: 4.984 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 4.75e-05/0.7597, allocations: 119.1 kB / 0.959 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.7597, allocations: 13.11 kB / 0.959 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.668e-05/0.7598, allocations: 4.656 kB / 0.959 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.7598, allocations: 0 / 0.959 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.7598, allocations: 0 / 0.959 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.7598, allocations: 1.031 kB / 0.959 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.7599, allocations: 158.4 kB / 0.9591 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.7599, allocations: 0 / 0.9591 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.558e-05/0.7599, allocations: 12.48 kB / 0.9592 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.76, allocations: 5.281 kB / 0.9592 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.76, allocations: 0 / 0.9592 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.76, allocations: 0 / 0.9592 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.76, allocations: 1.062 kB / 0.9592 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.7602, allocations: 181 kB / 0.9593 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.7602, allocations: 78.67 kB / 0.9594 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.7602, allocations: 0 / 0.9594 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.7603, allocations: 9.891 kB / 0.9594 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.7603, allocations: 1.312 kB / 0.9594 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.7604, allocations: 5.188 kB / 0.9594 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.516e-05/0.7604, allocations: 86.67 kB / 0.9595 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7604, allocations: 1.188 kB / 0.9595 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000204/0.7606, allocations: 8 kB / 0.9595 GB, free: 4.289 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.0001104/0.7607, allocations: 97.19 kB / 0.9596 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.7609, allocations: 48.05 kB / 0.9597 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7609, allocations: 4.062 kB / 0.9597 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.427e-05/0.761, allocations: 27.98 kB / 0.9597 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.7613, allocations: 8.344 kB / 0.9597 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.7616, allocations: 145.3 kB / 0.9598 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.601e-05/0.7617, allocations: 0.679 MB / 0.9605 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.7617, allocations: 7.438 kB / 0.9605 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.7617, allocations: 0 / 0.9605 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of Templates: time 0.001743/0.7635, allocations: 0.5396 MB / 0.961 GB, free: 3.031 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches