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.001679/0.001679, allocations: 110.1 kB / 15.99 MB, free: 6.359 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.001844/0.001844, allocations: 199 kB / 16.91 MB, free: 6.191 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.411/1.411, 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 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437.1 MB / 0.7107 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001979, allocations: 63.94 kB / 0.8694 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3235, allocations: 151.6 MB / 1.018 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003243/0.3268, allocations: 1.884 MB / 1.019 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3286, allocations: 1.224 MB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.3288, allocations: 11.94 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.3291, allocations: 51.52 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.3293, allocations: 43.7 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.3297, allocations: 139.9 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004955/0.3302, allocations: 481 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004335/0.3306, allocations: 279.4 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.3308, allocations: 171.3 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.3311, allocations: 202.9 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.105e-05/0.3311, allocations: 52 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.369e-05/0.3312, allocations: 52 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3313, allocations: 111.6 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.3315, allocations: 214.8 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.332, allocations: 467.2 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.332, allocations: 0 / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.763e-06/0.332, allocations: 0 / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.3321, allocations: 0 / 1.023 GB, free: 5.598 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.001291/0.3334, allocations: 0.7484 MB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3334, allocations: 8.031 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.3335, allocations: 48.38 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.334, allocations: 352.2 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.334, allocations: 33.38 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.3341, allocations: 36.38 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007575/0.3349, allocations: 411.6 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3349, allocations: 4.125 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.3349, allocations: 27.94 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.3349, allocations: 8 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/0.3356, allocations: 283.8 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.3377, allocations: 1.366 MB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007228/0.3385, allocations: 246.9 kB / 1.026 GB, free: 1.875 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.3387, allocations: 115.5 kB / 1.026 GB, free: 1.762 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.3387, allocations: 11.97 kB / 1.026 GB, free: 1.75 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3388, allocations: 38.56 kB / 1.026 GB, free: 1.703 MB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.3388, allocations: 0 / 1.026 GB, free: 1.703 MB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.0007324/0.3395, allocations: 298.5 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.3396, allocations: 106.8 kB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004811/0.3401, allocations: 417.5 kB / 1.027 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.3401, allocations: 25.7 kB / 1.027 GB, free: 0.832 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.3403, allocations: 251.7 kB / 1.027 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.3404, allocations: 63.02 kB / 1.027 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.3405, allocations: 73.92 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3407, allocations: 346.8 kB / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.341, allocations: 114.1 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.3413, allocations: 204.3 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.3419, allocations: 281.6 kB / 1.028 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3419, allocations: 0 / 1.028 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007288/0.3426, allocations: 357 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3427, allocations: 12.22 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3427, allocations: 0 / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.3427, allocations: 7.938 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.343, allocations: 83.77 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.343, allocations: 4 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.3433, allocations: 51.52 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.3433, allocations: 15.98 kB / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003109/0.3436, allocations: 204.7 kB / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002624/0.3439, allocations: 192.2 kB / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003477/0.3443, allocations: 229.4 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.933e-06/0.3443, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005561/0.3448, allocations: 323 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3448, allocations: 4 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3449, allocations: 4 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.131e-06/0.3449, allocations: 4.094 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.3451, allocations: 67.8 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3451, allocations: 4 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.3454, allocations: 43.7 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.3454, allocations: 16.16 kB / 1.03 GB, free: 13.77 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.0001541/0.3455, allocations: 206.8 kB / 1.03 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.3456, allocations: 31.62 kB / 1.03 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/0.3461, allocations: 236.9 kB / 1.03 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3462, allocations: 7.984 kB / 1.03 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3462, allocations: 0 / 1.03 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3462, allocations: 4 kB / 1.03 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.3475, allocations: 0.7899 MB / 1.031 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3475, allocations: 4.031 kB / 1.031 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.3478, allocations: 47.91 kB / 1.031 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3478, allocations: 4 kB / 1.031 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.3478, allocations: 8 kB / 1.031 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3478, allocations: 0 / 1.031 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3478, allocations: 4 kB / 1.031 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.3486, allocations: 459.4 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.814e-05/0.3487, allocations: 120.7 kB / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.3487, allocations: 12 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.3489, allocations: 15.97 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.349, allocations: 19.92 kB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.349, allocations: 8 kB / 1.032 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003252/0.3493, allocations: 283.2 kB / 1.032 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3493, allocations: 0 / 1.032 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000511/0.3498, allocations: 135.4 kB / 1.032 GB, free: 11.28 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.0001628/0.35, allocations: 115.7 kB / 1.032 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000841/0.3509, allocations: 392 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.3509, allocations: 4.25 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.3511, allocations: 95.83 kB / 1.033 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.3517, allocations: 75.98 kB / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.353, allocations: 0.8427 MB / 1.034 GB, free: 9.715 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.3535, allocations: 0.8073 MB / 1.035 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.3536, allocations: 35.38 kB / 1.035 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of SimCode: time 2.8e-07/0.3536, allocations: 0 / 1.035 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of Templates: time 0.007002/0.3606, allocations: 4.325 MB / 1.039 GB, free: 4.531 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=400 -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