Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 110.8 kB / 15.99 MB, free: 6.367 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.001271/0.001271, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.334/1.334, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.638/2.638, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 77.53 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3022, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003711/0.306, allocations: 2.105 MB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.3084, allocations: 1.591 MB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.3086, allocations: 8 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.3089, allocations: 59.38 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.3091, allocations: 47.66 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006976/0.3098, allocations: 286.4 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000665/0.3105, allocations: 0.6843 MB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.311, allocations: 325.3 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.3112, allocations: 266.9 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.3115, allocations: 278.6 kB / 1.07 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.929e-05/0.3116, allocations: 80 kB / 1.07 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.3118, allocations: 95.92 kB / 1.07 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.3119, allocations: 143.6 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.3122, allocations: 302.4 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006297/0.3128, allocations: 0.6238 MB / 1.071 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3128, allocations: 3.984 kB / 1.071 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3128, allocations: 0 / 1.071 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.3129, allocations: 0 / 1.071 GB, free: 8.215 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.00156/0.3144, allocations: 0.9071 MB / 1.072 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3145, allocations: 12.62 kB / 1.072 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.3146, allocations: 68.19 kB / 1.072 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.3151, allocations: 408.5 kB / 1.072 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/0.3152, allocations: 41.38 kB / 1.072 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.3153, allocations: 60.31 kB / 1.072 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008689/0.3162, allocations: 499.5 kB / 1.073 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3162, allocations: 192 / 1.073 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/0.3162, allocations: 23.94 kB / 1.073 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.3163, allocations: 16 kB / 1.073 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006859/0.3169, allocations: 347.8 kB / 1.073 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.3194, allocations: 1.562 MB / 1.075 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.3205, allocations: 0.8646 MB / 1.076 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/0.3209, allocations: 236.1 kB / 1.076 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.3209, allocations: 7.984 kB / 1.076 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/0.3214, allocations: 245.6 kB / 1.076 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 1.913e-06/0.3214, allocations: 0 / 1.076 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of matching and sorting (n=47): time 0.001083/0.3225, allocations: 0.5219 MB / 1.076 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.3226, allocations: 119.2 kB / 1.077 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/0.3231, allocations: 385.6 kB / 1.077 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/0.3232, allocations: 37.7 kB / 1.077 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.3234, allocations: 249 kB / 1.077 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.3235, allocations: 157.7 kB / 1.077 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.3237, allocations: 94.23 kB / 1.077 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3239, allocations: 358.8 kB / 1.078 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/0.3243, allocations: 187 kB / 1.078 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004896/0.3248, allocations: 288.1 kB / 1.078 GB, free: 196 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4308/0.7556, allocations: 425.6 kB / 1.079 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.7557, allocations: 1.031 kB / 1.079 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001109/0.7568, allocations: 0.5686 MB / 1.079 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.7568, allocations: 41.38 kB / 1.079 GB, free: 21.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.7569, allocations: 3.234 kB / 1.079 GB, free: 21.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.7569, allocations: 7.188 kB / 1.079 GB, free: 21.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.7573, allocations: 95.91 kB / 1.079 GB, free: 21.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.7573, allocations: 9.172 kB / 1.079 GB, free: 21.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.7577, allocations: 86.95 kB / 1.079 GB, free: 21.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.7578, allocations: 21 kB / 1.08 GB, free: 21.81 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004196/0.7582, allocations: 285.6 kB / 1.08 GB, free: 21.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003363/0.7585, allocations: 258.3 kB / 1.08 GB, free: 21.64 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000472/0.759, allocations: 389.2 kB / 1.08 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.759, allocations: 0.9688 kB / 1.08 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0007761/0.7598, allocations: 0.5142 MB / 1.081 GB, free: 21.33 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.7598, allocations: 40.78 kB / 1.081 GB, free: 21.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.7598, allocations: 6.938 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/0.7599, allocations: 3.938 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.7602, allocations: 84.48 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.7602, allocations: 7.844 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.7605, allocations: 76.77 kB / 1.081 GB, free: 21.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.7606, allocations: 19.33 kB / 1.081 GB, free: 21.27 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0001186/0.7607, allocations: 217.1 kB / 1.081 GB, free: 21.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.7608, allocations: 42.72 kB / 1.081 GB, free: 21.07 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007152/0.7615, allocations: 432.7 kB / 1.082 GB, free: 20.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.7615, allocations: 6.016 kB / 1.082 GB, free: 20.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7615, allocations: 1.125 kB / 1.082 GB, free: 20.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.7615, allocations: 5.922 kB / 1.082 GB, free: 20.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.7629, allocations: 1.142 MB / 1.083 GB, free: 20.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7629, allocations: 2.125 kB / 1.083 GB, free: 20.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.7633, allocations: 78.19 kB / 1.083 GB, free: 20.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.7633, allocations: 3.156 kB / 1.083 GB, free: 20.22 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.7633, allocations: 16.89 kB / 1.083 GB, free: 20.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.7633, allocations: 9.656 kB / 1.083 GB, free: 20.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.7633, allocations: 2.531 kB / 1.083 GB, free: 20.21 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009453/0.7643, allocations: 0.7276 MB / 1.084 GB, free: 19.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.7644, allocations: 131.7 kB / 1.084 GB, free: 19.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.7644, allocations: 16.45 kB / 1.084 GB, free: 19.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.7646, allocations: 25.7 kB / 1.084 GB, free: 19.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.7647, allocations: 36.08 kB / 1.084 GB, free: 19.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.7647, allocations: 13.08 kB / 1.084 GB, free: 19.65 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002518/0.765, allocations: 274.9 kB / 1.084 GB, free: 19.51 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.765, allocations: 0 / 1.084 GB, free: 19.51 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005779/0.7656, allocations: 202.1 kB / 1.084 GB, free: 19.45 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001605/0.7657, allocations: 123 kB / 1.085 GB, free: 19.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.7671, allocations: 0.8065 MB / 1.085 GB, free: 18.96 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.7671, allocations: 2.312 kB / 1.085 GB, free: 18.96 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.7674, allocations: 206.4 kB / 1.086 GB, free: 18.89 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/0.768, allocations: 89.44 kB / 1.086 GB, free: 18.87 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.7693, allocations: 1.169 MB / 1.087 GB, free: 18.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.7696, allocations: 0.8445 MB / 1.088 GB, free: 17.37 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.7697, allocations: 49.05 kB / 1.088 GB, free: 17.35 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.7697, allocations: 0 / 1.088 GB, free: 17.35 MB / 0.8419 GB Notification: Performance of Templates: time 0.01015/0.7798, allocations: 5.911 MB / 1.093 GB, free: 16.74 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches