Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.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_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 101.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.001911/0.001911, 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.476/1.476, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.515/2.515, allocations: 437 MB / 0.711 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 68.52 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.287, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003348/0.2904, allocations: 1.853 MB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.2923, allocations: 1.26 MB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003319/0.2927, allocations: 8 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.293, allocations: 71.19 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.2932, allocations: 55.41 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.2937, allocations: 176.5 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005785/0.2943, allocations: 481 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004675/0.2948, allocations: 275.4 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.295, allocations: 175.2 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.2953, allocations: 202.9 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.5e-05/0.2954, allocations: 52 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.292e-05/0.2954, allocations: 52 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.526e-05/0.2955, allocations: 111.6 kB / 1.023 GB, free: 5.867 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.2957, allocations: 206.9 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005282/0.2963, allocations: 0.5648 MB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2963, allocations: 0 / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2963, allocations: 4 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.2963, allocations: 0 / 1.023 GB, free: 5.094 MB / 0.795 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.001427/0.2977, allocations: 0.7406 MB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2978, allocations: 12.03 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.2979, allocations: 48.38 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.2983, allocations: 348.3 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.2984, allocations: 33.38 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.2985, allocations: 40.38 kB / 1.025 GB, free: 3.793 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.2992, allocations: 407.5 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2992, allocations: 4.188 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.2993, allocations: 23.92 kB / 1.025 GB, free: 3.352 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.2993, allocations: 12 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005977/0.2999, allocations: 279.8 kB / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.302, allocations: 1.37 MB / 1.027 GB, free: 1.633 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007224/0.3028, allocations: 242.8 kB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.303, allocations: 123.3 kB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.3031, allocations: 4 kB / 1.027 GB, free: 1.262 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3031, allocations: 34.56 kB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 1.784e-06/0.3031, allocations: 7.938 kB / 1.027 GB, free: 1.211 MB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.0006788/0.3038, allocations: 299.2 kB / 1.027 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.3039, allocations: 110.8 kB / 1.027 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.3043, allocations: 405.5 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.3043, allocations: 29.7 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.3045, allocations: 259.6 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.3045, allocations: 70.98 kB / 1.028 GB, free: 8 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.3047, allocations: 69.94 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3048, allocations: 346.8 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.3051, allocations: 114.1 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.3054, allocations: 204.3 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.3059, allocations: 273.6 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.3059, allocations: 8 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006921/0.3066, allocations: 356.9 kB / 1.029 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3066, allocations: 8 kB / 1.029 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3066, allocations: 0 / 1.029 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.3066, allocations: 20.08 kB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.3069, allocations: 71.95 kB / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3069, allocations: 0 / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.3072, allocations: 63.48 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.3072, allocations: 12 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002496/0.3075, allocations: 197.6 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002231/0.3077, allocations: 195.6 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003101/0.308, allocations: 229.1 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.3081, allocations: 4 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004956/0.3086, allocations: 319.4 kB / 1.03 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3086, allocations: 4 kB / 1.03 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3086, allocations: 7.938 kB / 1.03 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.369e-06/0.3086, allocations: 0 / 1.03 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.3088, allocations: 71.84 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3088, allocations: 0 / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.3091, allocations: 35.73 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3091, allocations: 16 kB / 1.031 GB, free: 13.28 MB / 0.8106 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.0001343/0.3093, allocations: 204.2 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.3093, allocations: 31.62 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/0.3098, allocations: 240.9 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3098, allocations: 4 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3098, allocations: 0 / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.3098, allocations: 0 / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.311, allocations: 0.791 MB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.311, allocations: 4 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.3112, allocations: 48.06 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3112, allocations: 7.938 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.3113, allocations: 7.984 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3113, allocations: 4 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3113, allocations: 4 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006984/0.312, allocations: 459.8 kB / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.444e-05/0.3121, allocations: 120.7 kB / 1.032 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.3121, allocations: 8 kB / 1.032 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.3123, allocations: 15.98 kB / 1.032 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.3124, allocations: 19.92 kB / 1.032 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.3124, allocations: 7.984 kB / 1.032 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002902/0.3127, allocations: 283.2 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3127, allocations: 0 / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005075/0.3132, allocations: 135.4 kB / 1.033 GB, free: 10.79 MB / 0.8106 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.0001612/0.3134, allocations: 120.9 kB / 1.033 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008123/0.3142, allocations: 391.4 kB / 1.033 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3142, allocations: 4.812 kB / 1.033 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.3144, allocations: 104 kB / 1.033 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.315, allocations: 65.52 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.3163, allocations: 0.6985 MB / 1.034 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.3167, allocations: 0.7996 MB / 1.035 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3168, allocations: 31.42 kB / 1.035 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3168, allocations: 0 / 1.035 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of Templates: time 0.007359/0.3242, allocations: 4.338 MB / 1.039 GB, free: 4.184 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches