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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001167/0.001167, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001158/0.001158, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.339/1.339, 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 10.1.0-maint.10.0.x/package.mo): time 2.486/2.486, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 64.47 kB / 0.8707 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3289, allocations: 151.7 MB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003232/0.3322, allocations: 1.849 MB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.3337, allocations: 1.256 MB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.3339, allocations: 8 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.3342, allocations: 75.19 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.3343, allocations: 55.41 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.3347, allocations: 171.8 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.3351, allocations: 493 kB / 1.023 GB, free: 5.898 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.3355, allocations: 271.4 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.3356, allocations: 179.3 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.3359, allocations: 195 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.276e-05/0.3359, allocations: 52 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.699e-05/0.336, allocations: 55.94 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.901e-05/0.3361, allocations: 115.6 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.3362, allocations: 206.8 kB / 1.024 GB, free: 4.84 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.3368, allocations: 0.5876 MB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3368, allocations: 4 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3368, allocations: 0 / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.3368, allocations: 0 / 1.024 GB, free: 4.246 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.001125/0.338, allocations: 0.7368 MB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.338, allocations: 8.031 kB / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.172e-05/0.3381, allocations: 52.38 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.3386, allocations: 340.3 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.3386, allocations: 33.38 kB / 1.025 GB, free: 2.996 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.3387, allocations: 48.3 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/0.3393, allocations: 407.5 kB / 1.026 GB, free: 2.531 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3394, allocations: 192 / 1.026 GB, free: 2.531 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.3394, allocations: 19.94 kB / 1.026 GB, free: 2.512 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3394, allocations: 12 kB / 1.026 GB, free: 2.5 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/0.34, allocations: 283.8 kB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.3419, allocations: 1.362 MB / 1.027 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.3426, allocations: 246.8 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.3428, allocations: 119.5 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.3428, allocations: 7.938 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3429, allocations: 42.56 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.3429, allocations: 0 / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.0006386/0.3435, allocations: 294.7 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.3436, allocations: 106.8 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/0.3441, allocations: 409.5 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.3441, allocations: 33.64 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.3443, allocations: 251.7 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.3443, allocations: 75 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3444, allocations: 65.94 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3446, allocations: 350.8 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.3448, allocations: 114.1 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.3451, allocations: 208.8 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.3456, allocations: 269.4 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.3456, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000635/0.3463, allocations: 366.9 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3463, allocations: 4 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3463, allocations: 7.938 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3463, allocations: 7.938 kB / 1.03 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.3466, allocations: 71.89 kB / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3466, allocations: 4.219 kB / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.3468, allocations: 59.5 kB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.3469, allocations: 16 kB / 1.03 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002368/0.3471, allocations: 197.4 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002081/0.3473, allocations: 191.9 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002826/0.3476, allocations: 235.6 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.3476, allocations: 0 / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004506/0.3481, allocations: 319.2 kB / 1.031 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.3481, allocations: 11.94 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.3481, allocations: 3.938 kB / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/0.3481, allocations: 4.219 kB / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.3483, allocations: 71.84 kB / 1.031 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3483, allocations: 4 kB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.3485, allocations: 35.73 kB / 1.031 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.3486, allocations: 12.09 kB / 1.031 GB, free: 12.44 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.0001246/0.3487, allocations: 208.1 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.3488, allocations: 35.61 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004608/0.3492, allocations: 241 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3492, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3493, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3493, allocations: 4 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.3507, allocations: 0.791 MB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3507, allocations: 4 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.3509, allocations: 43.97 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3509, allocations: 0 / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.351, allocations: 8 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.351, allocations: 12.14 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.351, allocations: 3.938 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006688/0.3517, allocations: 453.2 kB / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-05/0.3518, allocations: 124.7 kB / 1.033 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.3518, allocations: 8 kB / 1.033 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.352, allocations: 15.98 kB / 1.033 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.352, allocations: 23.86 kB / 1.033 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3521, allocations: 8 kB / 1.033 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002892/0.3524, allocations: 287.2 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3524, allocations: 0 / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004851/0.3529, allocations: 135.4 kB / 1.034 GB, free: 9.93 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.0001658/0.353, allocations: 103.2 kB / 1.034 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007449/0.3538, allocations: 405.1 kB / 1.034 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3538, allocations: 0 / 1.034 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.354, allocations: 93.02 kB / 1.034 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.3545, allocations: 73.39 kB / 1.034 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.3556, allocations: 0.6592 MB / 1.035 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.3559, allocations: 0.7995 MB / 1.036 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.3561, allocations: 47.25 kB / 1.036 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.324e-05/0.3562, allocations: 31.42 kB / 1.036 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3562, allocations: 0 / 1.036 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of Templates: time 0.006788/0.363, allocations: 3.479 MB / 1.039 GB, free: 4.215 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 -s cvode -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