Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009093/0.0009094, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.000964/0.000964, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.729/2.729, allocations: 436.5 MB / 0.7104 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004324, allocations: 8 kB / 0.8708 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.792/0.7925, allocations: 153.6 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0009845/0.7935, allocations: 448.8 kB / 1.021 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000902/0.7944, allocations: 0.8001 MB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.7945, allocations: 4 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.7945, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.686e-05/0.7946, allocations: 7.984 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.54e-05/0.7947, allocations: 11.94 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.559e-05/0.7947, allocations: 27.95 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.7948, allocations: 7.984 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.716e-05/0.7949, allocations: 19.92 kB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.795, allocations: 15.92 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.795, allocations: 8 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-06/0.795, allocations: 0 / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.795, allocations: 3.984 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.7951, allocations: 37.64 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.945e-05/0.7951, allocations: 31.92 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.7952, allocations: 0 / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7952, allocations: 3.938 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.7952, allocations: 0 / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005325/0.7957, allocations: 381.1 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.7958, allocations: 11.98 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.7958, allocations: 4 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.7959, allocations: 171 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.7959, allocations: 0 / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.796, allocations: 4 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.7962, allocations: 85.59 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.7962, allocations: 3.984 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.7963, allocations: 3.938 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7963, allocations: 4 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.7966, allocations: 83.92 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.797, allocations: 284.8 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.7972, allocations: 62.55 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.7972, allocations: 4 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.7972, allocations: 38.58 kB / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.7973, allocations: 0 / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005502/0.7978, allocations: 165.5 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.7978, allocations: 51.41 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.365e-05/0.7979, allocations: 114 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.798, allocations: 25.7 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.798, allocations: 88.12 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.798, allocations: 11.91 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.7981, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7982, allocations: 310.8 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.7983, allocations: 47.95 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.7985, allocations: 43.91 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.7986, allocations: 47.95 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7986, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003332/0.799, allocations: 125.5 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.799, allocations: 4 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.799, allocations: 0 / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.799, allocations: 0 / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.7992, allocations: 27.98 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.7992, allocations: 3.938 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.294e-05/0.7993, allocations: 19.97 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.7993, allocations: 0 / 1.024 GB, free: 13.28 MB / 0.7794 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.827e-05/0.7994, allocations: 111.9 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.7994, allocations: 7.953 kB / 1.024 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.7994, allocations: 11.91 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.7994, allocations: 0 / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7995, allocations: 3.938 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.7995, allocations: 0 / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.7996, allocations: 169.6 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7996, allocations: 384 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.763e-05/0.7997, allocations: 19.98 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.7998, allocations: 3.953 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.7998, allocations: 4 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7998, allocations: 3.938 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7998, allocations: 4 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.8002, allocations: 219.7 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.8002, allocations: 77.11 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.8002, allocations: 4 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.8003, allocations: 27.97 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.8004, allocations: 11.98 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.8004, allocations: 0 / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.12e-05/0.8005, allocations: 95.2 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8005, allocations: 0 / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002097/0.8007, allocations: 7.938 kB / 1.025 GB, free: 12.41 MB / 0.7794 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001515/0.8008, allocations: 99.25 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003543/0.8012, allocations: 87.92 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8012, allocations: 4 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.8014, allocations: 43.97 kB / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.8016, allocations: 11.98 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.8019, allocations: 144.5 kB / 1.025 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.8022, allocations: 0.6848 MB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.8022, allocations: 0 / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.8023, allocations: 7.438 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.8023, allocations: 4 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.002556/0.8048, allocations: 0.5312 MB / 1.027 GB, free: 10.74 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches