Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009805/0.009805, allocations: 107.3 kB / 15.74 MB, free: 6.039 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.001818/0.001818, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.877/2.877, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 71.89 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4169, allocations: 157.4 MB / 1.208 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001949/0.4189, allocations: 0.6611 MB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009804/0.4199, allocations: 0.7845 MB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.42, allocations: 0 / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.42, allocations: 7.938 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.792e-05/0.4201, allocations: 7.938 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.51e-05/0.4202, allocations: 4 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.012e-05/0.4203, allocations: 23.92 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4204, allocations: 7.984 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.4205, allocations: 11.94 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.92e-05/0.4205, allocations: 11.98 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.4206, allocations: 0 / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-06/0.4206, allocations: 4 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.4206, allocations: 7.938 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.4206, allocations: 15.92 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.433e-05/0.4207, allocations: 23.95 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4207, allocations: 0 / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4207, allocations: 0 / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.4208, allocations: 0 / 1.209 GB, free: 7.98 MB / 0.9669 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.0004765/0.4212, allocations: 343.3 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4213, allocations: 12.62 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.4213, allocations: 0.9375 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.4215, allocations: 176.3 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.4215, allocations: 384 / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.4215, allocations: 384 / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.4217, allocations: 54.17 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.4217, allocations: 192 / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4217, allocations: 3.938 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.4217, allocations: 0 / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.4219, allocations: 35.95 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.4222, allocations: 245 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.4224, allocations: 42.48 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.635e-05/0.4225, allocations: 28.84 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.4225, allocations: 0 / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.4225, allocations: 42.56 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.4225, allocations: 0 / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003467/0.4229, allocations: 77.64 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.4229, allocations: 55.41 kB / 1.21 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.423, allocations: 101.8 kB / 1.21 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.4231, allocations: 29.83 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.4231, allocations: 84.14 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.4231, allocations: 7.906 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.4232, allocations: 9.719 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4233, allocations: 318.8 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.4234, allocations: 23.91 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.4234, allocations: 11.98 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.4236, allocations: 44.89 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4236, allocations: 0 / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001894/0.4238, allocations: 69.59 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4238, allocations: 4 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4238, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4239, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.424, allocations: 16.02 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.424, allocations: 0 / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.424, allocations: 7.938 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.4241, allocations: 3.938 kB / 1.211 GB, free: 5.941 MB / 0.9669 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 0.0001135/0.4242, allocations: 121.8 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.4242, allocations: 3.906 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/0.4242, allocations: 3.125 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4242, allocations: 0 / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4242, allocations: 4 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4243, allocations: 4 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.4244, allocations: 157.6 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4244, allocations: 3.984 kB / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.4245, allocations: 4 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4245, allocations: 0 / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.4245, allocations: 4 kB / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4245, allocations: 0 / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4245, allocations: 0 / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.4248, allocations: 167.5 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.4248, allocations: 77.11 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.4248, allocations: 3.984 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.169e-05/0.4249, allocations: 8.188 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.425, allocations: 0 / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.425, allocations: 8 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.856e-05/0.425, allocations: 91.3 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.425, allocations: 0 / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002101/0.4253, allocations: 7.938 kB / 1.212 GB, free: 5.195 MB / 0.9669 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.000167/0.4254, allocations: 95.25 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.4256, allocations: 39.95 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4257, allocations: 0 / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/0.4257, allocations: 24.05 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.4261, allocations: 3.938 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.4264, allocations: 129.2 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.4267, allocations: 0.6768 MB / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.4268, allocations: 7.984 kB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.4268, allocations: 7.438 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.4268, allocations: 4.062 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of Templates: time 0.00282/0.4296, allocations: 440.5 kB / 1.213 GB, free: 3.719 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches