Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 109.8 kB / 15.99 MB, free: 6.348 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: 191.3 kB / 16.91 MB, free: 6.188 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.439/2.439, allocations: 437 MB / 0.7107 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 60.16 kB / 0.8694 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3466, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003444/0.3501, allocations: 2.115 MB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002308/0.3524, allocations: 1.572 MB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003384/0.3528, allocations: 15.94 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.3531, allocations: 63.38 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.3533, allocations: 55.58 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007292/0.354, allocations: 283.6 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006094/0.3547, allocations: 0.6921 MB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004467/0.3551, allocations: 321.3 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.3554, allocations: 266.9 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.3556, allocations: 278.6 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.793e-05/0.3557, allocations: 80 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.3559, allocations: 87.98 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.893e-05/0.356, allocations: 147.5 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.3562, allocations: 302.4 kB / 1.024 GB, free: 4.715 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005491/0.3568, allocations: 0.6277 MB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3568, allocations: 3.984 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3568, allocations: 0 / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.3568, allocations: 0 / 1.024 GB, free: 4.082 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001446/0.3583, allocations: 0.9052 MB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.3583, allocations: 12.03 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.3584, allocations: 64.19 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.3589, allocations: 412.5 kB / 1.026 GB, free: 2.605 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.359, allocations: 41.38 kB / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.036e-05/0.359, allocations: 56.38 kB / 1.026 GB, free: 2.512 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008454/0.3599, allocations: 0.4955 MB / 1.026 GB, free: 1.996 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3599, allocations: 4.125 kB / 1.026 GB, free: 1.992 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.36, allocations: 19.94 kB / 1.026 GB, free: 1.973 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.36, allocations: 16 kB / 1.026 GB, free: 1.957 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006574/0.3606, allocations: 347.8 kB / 1.026 GB, free: 1.621 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.363, allocations: 1.562 MB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009406/0.3639, allocations: 0.87 MB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.3643, allocations: 227.4 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.3643, allocations: 11.98 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004861/0.3648, allocations: 252.7 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=47): time 2.104e-06/0.3648, allocations: 0 / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=47): time 0.001008/0.3659, allocations: 0.5181 MB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.366, allocations: 115.2 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.3664, allocations: 381.7 kB / 1.03 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.3664, allocations: 37.7 kB / 1.03 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.3666, allocations: 256.9 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.3667, allocations: 153.7 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.3669, allocations: 102.2 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3671, allocations: 358.8 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/0.3675, allocations: 187 kB / 1.031 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.3679, allocations: 276.3 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007389/0.3687, allocations: 439.4 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3687, allocations: 3.938 kB / 1.032 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001123/0.3698, allocations: 0.5598 MB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.3699, allocations: 41.64 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3699, allocations: 7.938 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3699, allocations: 4 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.3704, allocations: 95.88 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.3704, allocations: 4 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.3708, allocations: 87.53 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.3708, allocations: 20 kB / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004292/0.3713, allocations: 287.6 kB / 1.033 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003699/0.3717, allocations: 256.2 kB / 1.033 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005318/0.3722, allocations: 391.4 kB / 1.034 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.3722, allocations: 8 kB / 1.034 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0008686/0.3731, allocations: 0.5128 MB / 1.034 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.3731, allocations: 37.69 kB / 1.034 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3731, allocations: 3.938 kB / 1.034 GB, free: 9.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.3732, allocations: 4 kB / 1.034 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.3735, allocations: 87.84 kB / 1.034 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3735, allocations: 12.14 kB / 1.034 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.3739, allocations: 79.55 kB / 1.034 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.3739, allocations: 20 kB / 1.034 GB, free: 9.012 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0001652/0.3741, allocations: 212.1 kB / 1.035 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.3742, allocations: 51.38 kB / 1.035 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007861/0.375, allocations: 433.3 kB / 1.035 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.375, allocations: 8 kB / 1.035 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.375, allocations: 0 / 1.035 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.375, allocations: 0 / 1.035 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.3767, allocations: 1.136 MB / 1.036 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3767, allocations: 192 / 1.036 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.3771, allocations: 87.89 kB / 1.036 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3771, allocations: 0 / 1.036 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.3771, allocations: 19.98 kB / 1.036 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.902e-06/0.3771, allocations: 4 kB / 1.036 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.3771, allocations: 11.81 kB / 1.036 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.3782, allocations: 0.7209 MB / 1.037 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.345e-05/0.3784, allocations: 120.5 kB / 1.037 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.3784, allocations: 19.98 kB / 1.037 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.3787, allocations: 19.98 kB / 1.037 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.3787, allocations: 39.83 kB / 1.037 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.3788, allocations: 16 kB / 1.037 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002918/0.3791, allocations: 275.2 kB / 1.038 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3791, allocations: 0 / 1.038 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006295/0.3797, allocations: 199.2 kB / 1.038 GB, free: 5.523 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001911/0.3799, allocations: 127.2 kB / 1.038 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.3814, allocations: 0.7998 MB / 1.039 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3814, allocations: 4 kB / 1.039 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.3817, allocations: 195.7 kB / 1.039 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.3824, allocations: 110.3 kB / 1.039 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.384, allocations: 1.177 MB / 1.04 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.3845, allocations: 0.8434 MB / 1.041 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.3846, allocations: 43.42 kB / 1.041 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of SimCode: time 4e-07/0.3846, allocations: 0 / 1.041 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of Templates: time 0.008898/0.3935, allocations: 5.926 MB / 1.047 GB, free: 12.22 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches