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.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.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.001248/0.001248, allocations: 104.9 kB / 16.35 MB, free: 5.902 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.001172/0.001172, allocations: 193.9 kB / 17.29 MB, free: 5.523 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.17 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.422/2.422, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 68.36 kB / 0.8707 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2956, allocations: 151.6 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003412/0.2991, allocations: 2.083 MB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.3012, allocations: 1.607 MB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.3014, allocations: 8 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.3017, allocations: 90.98 kB / 1.023 GB, free: 6.086 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.3019, allocations: 83.19 kB / 1.023 GB, free: 6.004 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007281/0.3026, allocations: 319.3 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005987/0.3032, allocations: 0.6959 MB / 1.024 GB, free: 5 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.3037, allocations: 329.3 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.3039, allocations: 263 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.3042, allocations: 286.5 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.832e-05/0.3043, allocations: 80 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3044, allocations: 87.98 kB / 1.025 GB, free: 3.969 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.3045, allocations: 147.5 kB / 1.025 GB, free: 3.824 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.3048, allocations: 302.4 kB / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.3054, allocations: 0.8251 MB / 1.026 GB, free: 2.699 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3054, allocations: 0 / 1.026 GB, free: 2.699 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3054, allocations: 0 / 1.026 GB, free: 2.699 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.3054, allocations: 0 / 1.026 GB, free: 2.699 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.001417/0.3069, allocations: 0.9071 MB / 1.027 GB, free: 1.734 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.3069, allocations: 8.031 kB / 1.027 GB, free: 1.727 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.307, allocations: 76.12 kB / 1.027 GB, free: 1.652 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000537/0.3076, allocations: 404.5 kB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.908e-05/0.3076, allocations: 41.38 kB / 1.027 GB, free: 1.18 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.249e-05/0.3077, allocations: 60.38 kB / 1.027 GB, free: 1.121 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007658/0.3085, allocations: 499.5 kB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3085, allocations: 4.188 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.3086, allocations: 23.94 kB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.3086, allocations: 15.98 kB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006447/0.3092, allocations: 343.8 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.3115, allocations: 1.546 MB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008858/0.3124, allocations: 0.8705 MB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.3127, allocations: 228.2 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.3128, allocations: 4 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004108/0.3132, allocations: 249.5 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=47): time 2.024e-06/0.3132, allocations: 4 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=47): time 0.0009817/0.3142, allocations: 0.5259 MB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.3143, allocations: 107.2 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.3147, allocations: 389.6 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.3147, allocations: 37.7 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.3149, allocations: 252.9 kB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.315, allocations: 157.7 kB / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.3152, allocations: 102.2 kB / 1.032 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3153, allocations: 354.8 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.3157, allocations: 183 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.3162, allocations: 288.2 kB / 1.033 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006929/0.3169, allocations: 427.3 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3169, allocations: 0 / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001025/0.3179, allocations: 0.5674 MB / 1.034 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.318, allocations: 45.62 kB / 1.034 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.318, allocations: 7.938 kB / 1.034 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.318, allocations: 8.031 kB / 1.034 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.3185, allocations: 96.11 kB / 1.034 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3185, allocations: 4 kB / 1.034 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.3188, allocations: 83.47 kB / 1.034 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.3189, allocations: 23.98 kB / 1.034 GB, free: 9.406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004273/0.3193, allocations: 277.9 kB / 1.035 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003679/0.3197, allocations: 264.2 kB / 1.035 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005329/0.3202, allocations: 387.4 kB / 1.035 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.3203, allocations: 0 / 1.035 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0008293/0.3211, allocations: 0.5247 MB / 1.036 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.3211, allocations: 37.7 kB / 1.036 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.3211, allocations: 3.938 kB / 1.036 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/0.3212, allocations: 7.938 kB / 1.036 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.3215, allocations: 91.83 kB / 1.036 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3215, allocations: 4 kB / 1.036 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.3218, allocations: 71.55 kB / 1.036 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.3219, allocations: 20 kB / 1.036 GB, free: 7.652 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.0001599/0.322, allocations: 220.1 kB / 1.036 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.3221, allocations: 47.38 kB / 1.036 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007621/0.3229, allocations: 429.3 kB / 1.037 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3229, allocations: 4 kB / 1.037 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.3229, allocations: 12 kB / 1.037 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3229, allocations: 0 / 1.037 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.3245, allocations: 1.136 MB / 1.038 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.3245, allocations: 4 kB / 1.038 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.3248, allocations: 79.89 kB / 1.038 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.3249, allocations: 4 kB / 1.038 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.3249, allocations: 11.98 kB / 1.038 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.3249, allocations: 4 kB / 1.038 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3249, allocations: 11.88 kB / 1.038 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.3259, allocations: 0.7185 MB / 1.039 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.3261, allocations: 132.5 kB / 1.039 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/0.3262, allocations: 11.98 kB / 1.039 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.3264, allocations: 23.98 kB / 1.039 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.3265, allocations: 35.83 kB / 1.039 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.3265, allocations: 16 kB / 1.039 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002874/0.3268, allocations: 275.2 kB / 1.039 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3268, allocations: 4 kB / 1.039 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006133/0.3275, allocations: 195.2 kB / 1.039 GB, free: 4.16 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.0002175/0.3277, allocations: 119.2 kB / 1.039 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.3291, allocations: 0.7915 MB / 1.04 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3291, allocations: 0 / 1.04 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.3295, allocations: 192.7 kB / 1.04 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.3301, allocations: 97.55 kB / 1.04 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.3316, allocations: 0.9254 MB / 1.041 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.3321, allocations: 0.8512 MB / 1.042 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002219/0.3323, allocations: 59.41 kB / 1.042 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3324, allocations: 35.44 kB / 1.042 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of SimCode: time 5.31e-07/0.3324, allocations: 3.938 kB / 1.042 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of Templates: time 0.01066/0.3431, allocations: 5.986 MB / 1.048 GB, free: 11.05 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 -s cvode -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