Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.001074/0.001074, allocations: 183 kB / 17.34 MB, free: 5.75 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.403/1.403, allocations: 222.9 MB / 241 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.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 63.91 kB / 0.9516 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.879/0.8805, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.002864/0.8834, allocations: 1.846 MB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.8852, allocations: 1.258 MB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.8854, allocations: 11.09 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.8857, allocations: 74.14 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.8859, allocations: 55.56 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.8863, allocations: 164.9 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004754/0.8868, allocations: 493 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004245/0.8872, allocations: 271.2 kB / 1.093 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.8874, allocations: 180.7 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.8876, allocations: 193.9 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.355e-05/0.8877, allocations: 53.81 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.413e-05/0.8878, allocations: 51.31 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.395e-05/0.8879, allocations: 113.7 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.8881, allocations: 213.1 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006613/0.8887, allocations: 0.5838 MB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.8888, allocations: 4.781 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8888, allocations: 0 / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.8888, allocations: 0 / 1.094 GB, free: 1.918 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001178/0.89, allocations: 0.7305 MB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.89, allocations: 10.17 kB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.8901, allocations: 48.56 kB / 1.095 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.8906, allocations: 348.7 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.8907, allocations: 34.56 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.396e-05/0.8907, allocations: 44.06 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007409/0.8915, allocations: 407.4 kB / 1.096 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.8915, allocations: 192 / 1.096 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.8916, allocations: 25.05 kB / 1.096 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.8916, allocations: 9.656 kB / 1.096 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006222/0.8922, allocations: 278.5 kB / 1.096 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.8944, allocations: 1.372 MB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/0.8952, allocations: 253.2 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.8955, allocations: 116.1 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.8955, allocations: 3 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.8955, allocations: 40.02 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.8955, allocations: 0.75 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.0007765/0.8963, allocations: 301 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.8964, allocations: 109.5 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.897, allocations: 403.5 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.897, allocations: 30.98 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.8972, allocations: 256.5 kB / 1.099 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.8973, allocations: 70.73 kB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.8974, allocations: 73.25 kB / 1.099 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.8975, allocations: 347.6 kB / 1.099 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.8978, allocations: 112.8 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.8982, allocations: 211 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.8987, allocations: 271.7 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.8988, allocations: 0.5 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007783/0.8995, allocations: 367.8 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.8996, allocations: 6.75 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.8996, allocations: 2.219 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.8996, allocations: 8.172 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.8999, allocations: 76.23 kB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.8999, allocations: 9.172 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.9002, allocations: 58.52 kB / 1.1 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.9003, allocations: 14.23 kB / 1.1 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002923/0.9006, allocations: 199.3 kB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002456/0.9008, allocations: 180.5 kB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003378/0.9012, allocations: 239.7 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.9012, allocations: 0 / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005555/0.9017, allocations: 318.1 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.9018, allocations: 5.875 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.9018, allocations: 2.781 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.991e-06/0.9018, allocations: 7.781 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.902, allocations: 70.78 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.9021, allocations: 4 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.9023, allocations: 35.89 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.9023, allocations: 14.45 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001411/0.9025, allocations: 195.5 kB / 1.101 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.9025, allocations: 32.03 kB / 1.102 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005431/0.9031, allocations: 241.5 kB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.9031, allocations: 6.156 kB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9031, allocations: 0.8125 kB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.9031, allocations: 1.266 kB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.9045, allocations: 0.7935 MB / 1.103 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.9045, allocations: 1.797 kB / 1.103 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.9047, allocations: 47.19 kB / 1.103 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.9047, allocations: 2.156 kB / 1.103 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.9047, allocations: 9.156 kB / 1.103 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.9048, allocations: 6.672 kB / 1.103 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.9048, allocations: 1.75 kB / 1.103 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007789/0.9055, allocations: 465.8 kB / 1.103 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.9057, allocations: 119.4 kB / 1.103 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.9057, allocations: 4.359 kB / 1.103 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.9059, allocations: 23.25 kB / 1.103 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.906, allocations: 23.64 kB / 1.103 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.906, allocations: 6.703 kB / 1.103 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004165/0.9064, allocations: 284 kB / 1.103 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9064, allocations: 0.5 kB / 1.103 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000594/0.907, allocations: 132.4 kB / 1.104 GB, free: 11.77 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (20): * Single equations (assignments): 20 * 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.0001789/0.9072, allocations: 110.8 kB / 1.104 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008484/0.9081, allocations: 392.6 kB / 1.104 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9081, allocations: 5.25 kB / 1.104 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.9083, allocations: 91.11 kB / 1.104 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.9088, allocations: 74.91 kB / 1.104 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.9102, allocations: 0.6937 MB / 1.105 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.9106, allocations: 0.7962 MB / 1.106 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.9108, allocations: 31.81 kB / 1.106 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.9108, allocations: 4 kB / 1.106 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of Templates: time 0.009259/0.92, allocations: 4.366 MB / 1.11 GB, free: 9.832 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches