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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001545/0.001545, allocations: 107.8 kB / 16.37 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.001629/0.00163, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.48/1.48, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 65.59 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.291, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003573/0.2946, allocations: 1.852 MB / 0.953 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.2967, allocations: 1.256 MB / 0.9542 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003598/0.2971, allocations: 12 kB / 0.9542 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.2974, allocations: 75.19 kB / 0.9543 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.2978, allocations: 51.47 kB / 0.9543 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.2984, allocations: 167.7 kB / 0.9545 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006816/0.2991, allocations: 497 kB / 0.9549 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005242/0.2996, allocations: 267.4 kB / 0.9552 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.2999, allocations: 179.3 kB / 0.9554 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.3002, allocations: 195 kB / 0.9556 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-05/0.3003, allocations: 52 kB / 0.9556 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.245e-05/0.3004, allocations: 52 kB / 0.9557 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.3005, allocations: 123.5 kB / 0.9558 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.3007, allocations: 202.9 kB / 0.956 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006034/0.3013, allocations: 0.5915 MB / 0.9565 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3013, allocations: 0 / 0.9565 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3013, allocations: 0 / 0.9565 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.3014, allocations: 0 / 0.9565 GB, free: 2.512 MB / 0.7325 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.001473/0.3028, allocations: 0.7378 MB / 0.9573 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3029, allocations: 8.031 kB / 0.9573 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.303, allocations: 56.38 kB / 0.9573 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/0.3035, allocations: 352.2 kB / 0.9577 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.3036, allocations: 29.38 kB / 0.9577 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.3036, allocations: 44.38 kB / 0.9577 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006908/0.3043, allocations: 407.5 kB / 0.9581 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3043, allocations: 4.188 kB / 0.9581 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.3044, allocations: 19.94 kB / 0.9581 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3044, allocations: 12 kB / 0.9582 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005752/0.305, allocations: 283.8 kB / 0.9584 GB, free: 488 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.3072, allocations: 1.362 MB / 0.9598 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006995/0.308, allocations: 250.8 kB / 0.96 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.3082, allocations: 116.8 kB / 0.9601 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.3083, allocations: 8 kB / 0.9601 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.3083, allocations: 38.5 kB / 0.9601 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.3083, allocations: 0 / 0.9601 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.0007315/0.309, allocations: 294.9 kB / 0.9604 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.3091, allocations: 110.8 kB / 0.9605 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004932/0.3096, allocations: 409.5 kB / 0.9609 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.3097, allocations: 29.7 kB / 0.961 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.3099, allocations: 247.8 kB / 0.9612 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/0.3099, allocations: 74.91 kB / 0.9613 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.31, allocations: 66.03 kB / 0.9613 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3102, allocations: 346.8 kB / 0.9617 GB, free: 13 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.3105, allocations: 118.1 kB / 0.9618 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.3108, allocations: 208.3 kB / 0.962 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.3113, allocations: 277.5 kB / 0.9622 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.3113, allocations: 0 / 0.9622 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006926/0.312, allocations: 365.1 kB / 0.9626 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.312, allocations: 11.94 kB / 0.9626 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3121, allocations: 0 / 0.9626 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3121, allocations: 7.938 kB / 0.9626 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.3124, allocations: 75.89 kB / 0.9627 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.3124, allocations: 4 kB / 0.9627 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.3126, allocations: 55.5 kB / 0.9627 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.3127, allocations: 8 kB / 0.9627 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002651/0.3129, allocations: 210.7 kB / 0.9629 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002267/0.3132, allocations: 179.3 kB / 0.9631 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003162/0.3135, allocations: 245.5 kB / 0.9633 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.3135, allocations: 0 / 0.9633 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005269/0.314, allocations: 319.3 kB / 0.9636 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.3141, allocations: 4 kB / 0.9637 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3141, allocations: 4 kB / 0.9637 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.3141, allocations: 4 kB / 0.9637 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.3143, allocations: 67.84 kB / 0.9637 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3143, allocations: 4 kB / 0.9637 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.3145, allocations: 40.03 kB / 0.9638 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.3146, allocations: 12 kB / 0.9638 GB, free: 10.69 MB / 0.7481 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.0001295/0.3147, allocations: 204.1 kB / 0.964 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.3148, allocations: 39.52 kB / 0.964 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.3152, allocations: 240.9 kB / 0.9642 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3153, allocations: 4 kB / 0.9642 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3153, allocations: 0 / 0.9642 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3153, allocations: 4 kB / 0.9642 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.3165, allocations: 0.7871 MB / 0.965 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3165, allocations: 0 / 0.965 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.3167, allocations: 47.91 kB / 0.9651 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3167, allocations: 4 kB / 0.9651 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3168, allocations: 4 kB / 0.9651 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3168, allocations: 0 / 0.9651 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.3168, allocations: 11.92 kB / 0.9651 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006889/0.3175, allocations: 461.4 kB / 0.9655 GB, free: 8.789 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.912e-05/0.3176, allocations: 116.7 kB / 0.9656 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.3176, allocations: 7.984 kB / 0.9656 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.3178, allocations: 19.98 kB / 0.9657 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.3179, allocations: 19.86 kB / 0.9657 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.3179, allocations: 8 kB / 0.9657 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002908/0.3182, allocations: 283.2 kB / 0.966 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.4e-07/0.3182, allocations: 0 / 0.966 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005204/0.3187, allocations: 135.4 kB / 0.9661 GB, free: 8.195 MB / 0.7481 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.0001654/0.3189, allocations: 111.2 kB / 0.9662 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007852/0.3197, allocations: 392 kB / 0.9666 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3197, allocations: 4 kB / 0.9666 GB, free: 7.688 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.3199, allocations: 98.34 kB / 0.9667 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.3204, allocations: 67.47 kB / 0.9667 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.3217, allocations: 0.6614 MB / 0.9674 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.3221, allocations: 0.8034 MB / 0.9682 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.3223, allocations: 51.23 kB / 0.9682 GB, free: 5.945 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.3224, allocations: 31.42 kB / 0.9682 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of SimCode: time 2.044e-06/0.3224, allocations: 0 / 0.9682 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of Templates: time 0.008319/0.3307, allocations: 3.472 MB / 0.9716 GB, free: 2.473 MB / 0.7481 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 -s gbode -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