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.001764/0.001764, allocations: 105.4 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.001886/0.001886, allocations: 189.8 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.558/2.558, allocations: 437.1 MB / 0.7111 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 68.98 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3456, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003797/0.3495, allocations: 2.079 MB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002631/0.3521, allocations: 1.603 MB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.3524, allocations: 12 kB / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.3526, allocations: 79.06 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.3529, allocations: 87.12 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008411/0.3538, allocations: 327.7 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006902/0.3544, allocations: 0.6803 MB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006706/0.3551, allocations: 333.3 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.3555, allocations: 259 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.3559, allocations: 278.6 kB / 1.024 GB, free: 4.863 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.356, allocations: 80 kB / 1.024 GB, free: 4.785 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.3562, allocations: 95.86 kB / 1.024 GB, free: 4.691 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.3564, allocations: 139.6 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003347/0.3568, allocations: 298.4 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.358, allocations: 0.7946 MB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.358, allocations: 4 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.623e-06/0.358, allocations: 0 / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.358, allocations: 0 / 1.025 GB, free: 3.461 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.002371/0.3604, allocations: 0.9071 MB / 1.026 GB, free: 2.496 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.3605, allocations: 8.031 kB / 1.026 GB, free: 2.488 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.3607, allocations: 68.19 kB / 1.026 GB, free: 2.422 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/0.3614, allocations: 408.5 kB / 1.026 GB, free: 1.988 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/0.3615, allocations: 41.38 kB / 1.026 GB, free: 1.949 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.361e-05/0.3616, allocations: 56.38 kB / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009274/0.3625, allocations: 0.4917 MB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3625, allocations: 192 / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.609e-05/0.3626, allocations: 27.92 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.3626, allocations: 16 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007455/0.3634, allocations: 347.8 kB / 1.027 GB, free: 1.008 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.3659, allocations: 1.57 MB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.3669, allocations: 0.8684 MB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/0.3673, allocations: 231.4 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.3674, allocations: 4 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/0.3679, allocations: 248.8 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=47): time 2.194e-06/0.3679, allocations: 0 / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=47): time 0.001112/0.369, allocations: 0.5297 MB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.019e-05/0.3691, allocations: 107.2 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.3696, allocations: 385.7 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/0.3697, allocations: 37.7 kB / 1.031 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.3699, allocations: 252.9 kB / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.37, allocations: 157.6 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.3702, allocations: 102.2 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3704, allocations: 354.8 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/0.3709, allocations: 179 kB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.3714, allocations: 292.1 kB / 1.032 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007844/0.3722, allocations: 423.4 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3722, allocations: 3.938 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001155/0.3734, allocations: 0.5751 MB / 1.033 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/0.3734, allocations: 45.62 kB / 1.033 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3735, allocations: 4 kB / 1.033 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3735, allocations: 7.938 kB / 1.033 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.3739, allocations: 100 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3739, allocations: 4 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/0.3744, allocations: 83.47 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.3744, allocations: 23.98 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004919/0.3749, allocations: 281.2 kB / 1.034 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003981/0.3753, allocations: 256.3 kB / 1.034 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005835/0.3759, allocations: 391.3 kB / 1.034 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.3759, allocations: 0 / 1.034 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009171/0.3769, allocations: 0.5207 MB / 1.035 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.3769, allocations: 37.7 kB / 1.035 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3769, allocations: 7.938 kB / 1.035 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.3769, allocations: 4 kB / 1.035 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.3772, allocations: 91.83 kB / 1.035 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3773, allocations: 4 kB / 1.035 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.3776, allocations: 71.55 kB / 1.035 GB, free: 8.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.3777, allocations: 24.08 kB / 1.035 GB, free: 8.387 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.0001856/0.3779, allocations: 208.2 kB / 1.035 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.378, allocations: 47.38 kB / 1.035 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008535/0.3788, allocations: 437.3 kB / 1.036 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.3788, allocations: 4 kB / 1.036 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3789, allocations: 4 kB / 1.036 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.3789, allocations: 7.984 kB / 1.036 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.3806, allocations: 1.124 MB / 1.037 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3806, allocations: 4 kB / 1.037 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.381, allocations: 83.89 kB / 1.037 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.381, allocations: 4 kB / 1.037 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.381, allocations: 8.094 kB / 1.037 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.3811, allocations: 4.188 kB / 1.037 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.3811, allocations: 11.94 kB / 1.037 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.3823, allocations: 0.729 MB / 1.038 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.3824, allocations: 128.5 kB / 1.038 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.3824, allocations: 8 kB / 1.038 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.3827, allocations: 31.91 kB / 1.038 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.3828, allocations: 35.84 kB / 1.038 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.3828, allocations: 23.92 kB / 1.038 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003124/0.3831, allocations: 271.2 kB / 1.038 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3831, allocations: 0 / 1.038 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006478/0.3838, allocations: 199.2 kB / 1.038 GB, free: 4.902 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.0002345/0.384, allocations: 123.2 kB / 1.039 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001615/0.3857, allocations: 0.8106 MB / 1.039 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3857, allocations: 0 / 1.039 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.3861, allocations: 205 kB / 1.04 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006939/0.3868, allocations: 87.86 kB / 1.04 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.3885, allocations: 0.9624 MB / 1.041 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.3891, allocations: 0.8473 MB / 1.041 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.3892, allocations: 39.44 kB / 1.041 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of SimCode: time 9.848e-06/0.3892, allocations: 4 kB / 1.041 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of Templates: time 0.009773/0.399, allocations: 5.928 MB / 1.047 GB, free: 11.81 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=400 -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