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.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.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.009376/0.009376, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.001769/0.001769, allocations: 192.1 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.573/1.573, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.406/2.406, allocations: 390.2 MB / 0.6648 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.91 kB / 0.9509 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.034, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.002145/1.036, allocations: 0.663 MB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00102/1.038, allocations: 0.7797 MB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/1.038, allocations: 4 kB / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/1.038, allocations: 4.5 kB / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.34e-05/1.038, allocations: 5.281 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.944e-05/1.038, allocations: 7.812 kB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.016e-05/1.038, allocations: 28.86 kB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/1.038, allocations: 8.641 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.806e-05/1.038, allocations: 9.578 kB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/1.038, allocations: 8.891 kB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/1.038, allocations: 2.125 kB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-06/1.038, allocations: 5.906 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/1.038, allocations: 6.094 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/1.038, allocations: 11.33 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/1.038, allocations: 22.31 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.038, allocations: 0 / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.056e-06/1.038, allocations: 0.75 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.225e-05/1.038, allocations: 0 / 1.09 GB, free: 4.441 MB / 0.8575 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.0004365/1.039, allocations: 337.8 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/1.039, allocations: 10.02 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/1.039, allocations: 7.031 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/1.039, allocations: 174.6 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/1.039, allocations: 5.125 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/1.039, allocations: 1.969 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/1.039, allocations: 56.84 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.039, allocations: 1.562 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/1.039, allocations: 3.938 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.039, allocations: 0 / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/1.04, allocations: 41.02 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/1.04, allocations: 244.1 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/1.04, allocations: 40.05 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.468e-05/1.04, allocations: 29.78 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/1.04, allocations: 6 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/1.04, allocations: 31.53 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/1.04, allocations: 0 / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003444/1.041, allocations: 80.19 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/1.041, allocations: 52.47 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.51e-05/1.041, allocations: 114.2 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/1.041, allocations: 26.89 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/1.041, allocations: 85.91 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/1.041, allocations: 4.516 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/1.041, allocations: 17.11 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.275e-05/1.041, allocations: 314.1 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/1.041, allocations: 17.34 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/1.041, allocations: 22.23 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/1.041, allocations: 38.05 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.041, allocations: 0 / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001937/1.041, allocations: 66.59 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.041, allocations: 6.547 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.041, allocations: 96 / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/1.041, allocations: 4 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/1.041, allocations: 12.67 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/1.041, allocations: 6.125 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/1.042, allocations: 9 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/1.042, allocations: 2 kB / 1.091 GB, free: 2.707 MB / 0.8575 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.777e-05/1.042, allocations: 115.5 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/1.042, allocations: 1.125 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/1.042, allocations: 8.953 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.042, allocations: 4.562 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.042, allocations: 1.156 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/1.042, allocations: 0 / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/1.042, allocations: 160.1 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.042, allocations: 1.734 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-05/1.042, allocations: 9.016 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.042, allocations: 3.938 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/1.042, allocations: 0 / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/1.042, allocations: 1.797 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.042, allocations: 0 / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/1.042, allocations: 166.2 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/1.042, allocations: 82.67 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/1.042, allocations: 1.922 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/1.042, allocations: 5.844 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/1.042, allocations: 10.08 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/1.042, allocations: 5.531 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.442e-05/1.042, allocations: 88.47 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/1.042, allocations: 1.406 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002126/1.043, allocations: 3.406 kB / 1.092 GB, free: 2.039 MB / 0.8575 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.0001422/1.043, allocations: 99.55 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002364/1.043, allocations: 35.81 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.043, allocations: 4.656 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.166e-05/1.043, allocations: 20.3 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/1.043, allocations: 6.375 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/1.044, allocations: 106 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/1.044, allocations: 0.6761 MB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.721e-05/1.044, allocations: 1.906 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/1.044, allocations: 12.34 kB / 1.093 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/1.044, allocations: 0 / 1.093 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of Templates: time 0.002561/1.046, allocations: 442.8 kB / 1.093 GB, free: 1.055 MB / 0.8575 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/jenkins/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