Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007339/0.007339, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001465/0.001465, allocations: 190.1 kB / 16.67 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.398/2.398, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.91 kB / 0.9509 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.003629/1.011, allocations: 2.08 MB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002654/1.014, allocations: 1.602 MB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/1.014, allocations: 12.38 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002721/1.015, allocations: 85.86 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001968/1.015, allocations: 75.84 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008601/1.016, allocations: 328.2 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007818/1.016, allocations: 0.6914 MB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004897/1.017, allocations: 331.4 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/1.017, allocations: 257 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/1.018, allocations: 279 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/1.018, allocations: 77.19 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/1.018, allocations: 90.2 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/1.018, allocations: 148.9 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002639/1.018, allocations: 300.6 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/1.019, allocations: 0.8228 MB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/1.019, allocations: 0.7969 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.685e-06/1.019, allocations: 0 / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.442e-05/1.02, allocations: 7.938 kB / 1.095 GB, free: 1.035 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.00178/1.021, allocations: 0.9046 MB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/1.021, allocations: 9.156 kB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/1.022, allocations: 67.53 kB / 1.096 GB, free: 336 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/1.022, allocations: 406.6 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/1.022, allocations: 40.94 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/1.022, allocations: 66.98 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/1.024, allocations: 0.4919 MB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/1.024, allocations: 1.219 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.474e-05/1.024, allocations: 25.33 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/1.024, allocations: 12.44 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008708/1.025, allocations: 345.3 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/1.027, allocations: 1.55 MB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/1.029, allocations: 0.8768 MB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/1.029, allocations: 233.4 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/1.029, allocations: 5.078 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005081/1.03, allocations: 252.9 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.234e-06/1.03, allocations: 0 / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47): time 0.001184/1.031, allocations: 0.5224 MB / 1.101 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.03e-05/1.031, allocations: 113.9 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/1.031, allocations: 386.8 kB / 1.101 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.033e-05/1.032, allocations: 42.33 kB / 1.101 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/1.032, allocations: 247.1 kB / 1.101 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/1.032, allocations: 162.7 kB / 1.102 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/1.032, allocations: 95.92 kB / 1.102 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.032, allocations: 355.4 kB / 1.102 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/1.033, allocations: 185.3 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/1.033, allocations: 279.6 kB / 1.102 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008267/1.034, allocations: 436.2 kB / 1.103 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.034, allocations: 1.125 kB / 1.103 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00143/1.036, allocations: 0.566 MB / 1.103 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/1.036, allocations: 46 kB / 1.103 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.036, allocations: 6.375 kB / 1.103 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/1.036, allocations: 5.094 kB / 1.103 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/1.036, allocations: 94.47 kB / 1.103 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/1.036, allocations: 7.969 kB / 1.104 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/1.037, allocations: 85.5 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/1.037, allocations: 22.61 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004503/1.037, allocations: 283.5 kB / 1.104 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004005/1.038, allocations: 262.8 kB / 1.104 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005708/1.038, allocations: 387.1 kB / 1.104 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/1.038, allocations: 0 / 1.104 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009303/1.039, allocations: 0.5257 MB / 1.105 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/1.039, allocations: 40.22 kB / 1.105 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.039, allocations: 6.016 kB / 1.105 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/1.039, allocations: 5 kB / 1.105 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/1.039, allocations: 83.89 kB / 1.105 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/1.039, allocations: 5.047 kB / 1.105 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/1.04, allocations: 72.84 kB / 1.105 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/1.04, allocations: 20.61 kB / 1.105 GB, free: 10.64 MB / 0.8731 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.0001705/1.04, allocations: 214.9 kB / 1.105 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.772e-05/1.04, allocations: 49.12 kB / 1.105 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000861/1.041, allocations: 431.8 kB / 1.106 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.041, allocations: 4.469 kB / 1.106 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.041, allocations: 1.641 kB / 1.106 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/1.041, allocations: 1.922 kB / 1.106 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/1.043, allocations: 1.134 MB / 1.107 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/1.043, allocations: 6.344 kB / 1.107 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/1.043, allocations: 76.31 kB / 1.107 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/1.043, allocations: 3.938 kB / 1.107 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/1.044, allocations: 13.67 kB / 1.107 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/1.044, allocations: 12.98 kB / 1.107 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.044, allocations: 5.688 kB / 1.107 GB, free: 9.512 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/1.045, allocations: 0.723 MB / 1.108 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/1.045, allocations: 131.3 kB / 1.108 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/1.045, allocations: 12.78 kB / 1.108 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/1.045, allocations: 25.8 kB / 1.108 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/1.045, allocations: 35.77 kB / 1.108 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/1.045, allocations: 14.34 kB / 1.108 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003605/1.046, allocations: 273.8 kB / 1.108 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/1.046, allocations: 0 / 1.108 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007001/1.046, allocations: 194.3 kB / 1.108 GB, free: 8.75 MB / 0.8731 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.0002481/1.047, allocations: 128.2 kB / 1.109 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001616/1.048, allocations: 0.7862 MB / 1.109 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.048, allocations: 1.406 kB / 1.109 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003834/1.049, allocations: 195.7 kB / 1.11 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006579/1.049, allocations: 95.89 kB / 1.11 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/1.051, allocations: 0.9272 MB / 1.111 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/1.052, allocations: 0.8485 MB / 1.111 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003202/1.052, allocations: 59.62 kB / 1.111 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/1.053, allocations: 43.41 kB / 1.111 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of SimCode: time 9.62e-07/1.053, allocations: 0 / 1.111 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of Templates: time 0.01847/1.071, allocations: 6.186 MB / 1.118 GB, free: 6.398 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches