Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 109.3 kB / 16.41 MB, free: 6.008 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.001412/0.001412, allocations: 184.3 kB / 17.34 MB, free: 5.629 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.499/2.499, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.89 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7112/0.7124, allocations: 157.4 MB / 1.208 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001954/0.7144, allocations: 0.7082 MB / 1.209 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009472/0.7154, allocations: 0.8312 MB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.7155, allocations: 4 kB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.7155, allocations: 3.938 kB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.064e-05/0.7156, allocations: 7.938 kB / 1.21 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.7158, allocations: 23.91 kB / 1.21 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.86e-05/0.7159, allocations: 47.91 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.716, allocations: 11.98 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.438e-05/0.7161, allocations: 19.92 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.7161, allocations: 31.84 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.7162, allocations: 4 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.7162, allocations: 8 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.7162, allocations: 7.984 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.7162, allocations: 23.86 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.529e-05/0.7163, allocations: 47.8 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7164, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7164, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.7164, allocations: 7.984 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004967/0.7169, allocations: 346.8 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.7169, allocations: 8.031 kB / 1.211 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.717, allocations: 12.84 kB / 1.211 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.7171, allocations: 176.3 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.7171, allocations: 384 / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.7171, allocations: 8.312 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.7173, allocations: 69.59 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.7174, allocations: 0 / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.7174, allocations: 0 / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7174, allocations: 4 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.7176, allocations: 47.95 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.718, allocations: 292.7 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.7182, allocations: 62.48 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.7183, allocations: 40.84 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.7183, allocations: 4 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.7184, allocations: 30.56 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.7184, allocations: 4 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004023/0.7188, allocations: 105.6 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.7188, allocations: 55.41 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.7189, allocations: 117.9 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.7189, allocations: 25.7 kB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.719, allocations: 96.03 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.719, allocations: 7.844 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.7191, allocations: 17.72 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.7192, allocations: 318.8 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.661e-05/0.7193, allocations: 19.98 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.365e-05/0.7194, allocations: 35.97 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.7196, allocations: 53.08 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7196, allocations: 0 / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002304/0.7198, allocations: 89.5 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.7198, allocations: 4 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.7198, allocations: 4 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7198, allocations: 3.984 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.72, allocations: 15.98 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.72, allocations: 0 / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/0.7201, allocations: 4 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.7201, allocations: 0 / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.276e-05/0.7202, allocations: 121.8 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.7202, allocations: 3.938 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.7202, allocations: 7.906 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.7202, allocations: 0 / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7202, allocations: 4 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.7203, allocations: 0 / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.7204, allocations: 181.6 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7204, allocations: 0 / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.274e-05/0.7205, allocations: 11.98 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7205, allocations: 3.938 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.7206, allocations: 0 / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.7206, allocations: 3.938 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7206, allocations: 4 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.7209, allocations: 187.3 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.7209, allocations: 81.11 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.7209, allocations: 0 / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.55e-05/0.721, allocations: 7.984 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.7211, allocations: 11.98 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.7211, allocations: 4 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.243e-05/0.7211, allocations: 91.27 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7211, allocations: 0 / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002165/0.7214, allocations: 11.94 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001085/0.7215, allocations: 99.25 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.7217, allocations: 55.89 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.7217, allocations: 0 / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.7219, allocations: 31.97 kB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.7222, allocations: 8 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.7225, allocations: 167 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.7227, allocations: 0.6807 MB / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.7228, allocations: 15.42 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.7228, allocations: 0 / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of Templates: time 0.002024/0.7248, allocations: 0.8176 MB / 1.215 GB, free: 7 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches