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.001549/0.001549, allocations: 103.1 kB / 16.27 MB, free: 6.414 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.001725/0.001725, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.714/2.714, allocations: 469.4 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 66.64 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3119, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002177/0.3141, allocations: 0.6811 MB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000937/0.3151, allocations: 0.7923 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.3151, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.3152, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.3153, allocations: 3.938 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.49e-05/0.3153, allocations: 4 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.099e-05/0.3154, allocations: 31.92 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3155, allocations: 7.984 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/0.3156, allocations: 15.92 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.764e-05/0.3156, allocations: 11.92 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.3157, allocations: 4 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-06/0.3157, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.3157, allocations: 8 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.3157, allocations: 3.938 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.658e-05/0.3158, allocations: 27.95 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3158, allocations: 4 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.935e-06/0.3158, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.3158, allocations: 3.938 kB / 1.066 GB, free: 13.43 MB / 0.8419 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.0004535/0.3163, allocations: 339.7 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3163, allocations: 8.625 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.3164, allocations: 4.938 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.3165, allocations: 160.4 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3165, allocations: 384 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.3165, allocations: 384 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3167, allocations: 58.17 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3167, allocations: 192 / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3168, allocations: 11.92 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3168, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.317, allocations: 31.95 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.3173, allocations: 253 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.3175, allocations: 42.44 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.3176, allocations: 28.89 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.3176, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.3176, allocations: 30.56 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.3177, allocations: 4 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.000411/0.3181, allocations: 85.55 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.3181, allocations: 51.41 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3183, allocations: 102 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3183, allocations: 25.7 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.3184, allocations: 88.12 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.3184, allocations: 11.97 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.3185, allocations: 17.66 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3187, allocations: 310.8 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.85e-05/0.3188, allocations: 15.98 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.812e-05/0.3188, allocations: 28.03 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.319, allocations: 40.89 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.319, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002274/0.3193, allocations: 65.59 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3193, allocations: 8 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.3193, allocations: 0 / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.3193, allocations: 0 / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3194, allocations: 7.984 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.3195, allocations: 11.88 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.3195, allocations: 4.031 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.3195, allocations: 4 kB / 1.068 GB, free: 11.39 MB / 0.8419 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 9.772e-05/0.3196, allocations: 116.3 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.3197, allocations: 3.984 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.3197, allocations: 7.125 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3197, allocations: 0 / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.3197, allocations: 0 / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3197, allocations: 0 / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.3199, allocations: 157.6 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3199, allocations: 4 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.32, allocations: 11.98 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.32, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.32, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.32, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.32, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.3203, allocations: 175.3 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.3204, allocations: 77.11 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3204, allocations: 4 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.3205, allocations: 7.984 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.3205, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.3206, allocations: 4 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.837e-05/0.3206, allocations: 87.27 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3206, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002322/0.3209, allocations: 7.938 kB / 1.068 GB, free: 10.65 MB / 0.8419 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.0001914/0.3211, allocations: 103.3 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.3213, allocations: 39.95 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3213, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.3214, allocations: 19.92 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.3218, allocations: 17.89 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.3222, allocations: 139.2 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.3225, allocations: 0.6768 MB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.3226, allocations: 7.438 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of SimCode: time 9.42e-07/0.3226, allocations: 0 / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of Templates: time 0.002232/0.3248, allocations: 0.5467 MB / 1.07 GB, free: 9.039 MB / 0.8419 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/jenkins1/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