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.001683/0.001683, allocations: 105.8 kB / 16.27 MB, free: 6.418 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.001798/0.001798, allocations: 189.6 kB / 17.2 MB, free: 5.949 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.387/1.387, 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.463/2.463, allocations: 437 MB / 0.711 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 64.69 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2928, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.004031/0.2969, allocations: 2.082 MB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002966/0.2999, allocations: 1.607 MB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005266/0.3004, allocations: 11.94 kB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.3008, allocations: 87.05 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004741/0.3014, allocations: 71.27 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.3025, allocations: 329.2 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.3036, allocations: 0.6881 MB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007101/0.3043, allocations: 325.3 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004978/0.3049, allocations: 263 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004989/0.3054, allocations: 286.6 kB / 1.024 GB, free: 4.91 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.3056, allocations: 76 kB / 1.024 GB, free: 4.836 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.3058, allocations: 83.98 kB / 1.024 GB, free: 4.754 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.306, allocations: 151.5 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.3063, allocations: 298.4 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0009788/0.3073, allocations: 0.7946 MB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3073, allocations: 0 / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3073, allocations: 0 / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.607e-05/0.3074, allocations: 0 / 1.025 GB, free: 3.516 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.002077/0.3094, allocations: 0.9071 MB / 1.026 GB, free: 2.551 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.3095, allocations: 16.03 kB / 1.026 GB, free: 2.535 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.3097, allocations: 64.19 kB / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000686/0.3104, allocations: 408.5 kB / 1.026 GB, free: 2.039 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.3105, allocations: 45.36 kB / 1.026 GB, free: 1.996 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.916e-05/0.3106, allocations: 60.38 kB / 1.026 GB, free: 1.938 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009563/0.3115, allocations: 499.5 kB / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3116, allocations: 4.188 kB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.3116, allocations: 23.94 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.3116, allocations: 12 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007788/0.3124, allocations: 343.8 kB / 1.027 GB, free: 1.062 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.3151, allocations: 1.57 MB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.3163, allocations: 0.8692 MB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004139/0.3167, allocations: 227.4 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.3168, allocations: 8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005126/0.3173, allocations: 252.8 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=47): time 2.414e-06/0.3173, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of matching and sorting (n=47): time 0.001109/0.3184, allocations: 0.5297 MB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.3185, allocations: 107.2 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.319, allocations: 385.7 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.3191, allocations: 37.7 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.3193, allocations: 256.9 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.3194, allocations: 153.7 kB / 1.031 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.3196, allocations: 94.23 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3198, allocations: 358.8 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.3202, allocations: 187 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005225/0.3208, allocations: 284.2 kB / 1.032 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000771/0.3216, allocations: 431.4 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3216, allocations: 4 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001168/0.3227, allocations: 0.5674 MB / 1.033 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.3228, allocations: 41.64 kB / 1.033 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3228, allocations: 4 kB / 1.033 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.3228, allocations: 4 kB / 1.033 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.3233, allocations: 99.81 kB / 1.033 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.3233, allocations: 7.938 kB / 1.033 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.3238, allocations: 87.59 kB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.3239, allocations: 20 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004673/0.3243, allocations: 281.2 kB / 1.034 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004002/0.3247, allocations: 256.3 kB / 1.034 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005894/0.3253, allocations: 391.3 kB / 1.034 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.514e-06/0.3254, allocations: 0 / 1.034 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.00105/0.3264, allocations: 0.5244 MB / 1.035 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.3265, allocations: 41.69 kB / 1.035 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3265, allocations: 7.875 kB / 1.035 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.3265, allocations: 4.219 kB / 1.035 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.3268, allocations: 87.91 kB / 1.035 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.3269, allocations: 4 kB / 1.035 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004554/0.3273, allocations: 75.53 kB / 1.035 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.3274, allocations: 20 kB / 1.035 GB, free: 8.445 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.0001709/0.3275, allocations: 212.1 kB / 1.035 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.3276, allocations: 55.38 kB / 1.035 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008732/0.3285, allocations: 429.3 kB / 1.036 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.3285, allocations: 8 kB / 1.036 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3285, allocations: 0 / 1.036 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3285, allocations: 0 / 1.036 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.3304, allocations: 1.128 MB / 1.037 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3305, allocations: 4 kB / 1.037 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.3308, allocations: 79.89 kB / 1.037 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/0.3308, allocations: 4 kB / 1.037 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.3309, allocations: 15.94 kB / 1.037 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.519e-05/0.3309, allocations: 3.984 kB / 1.037 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.3309, allocations: 7.938 kB / 1.037 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.3322, allocations: 0.7289 MB / 1.038 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.3324, allocations: 128.5 kB / 1.038 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.3325, allocations: 15.98 kB / 1.038 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.3327, allocations: 23.98 kB / 1.038 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.3328, allocations: 35.84 kB / 1.038 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.3328, allocations: 19.98 kB / 1.038 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003059/0.3332, allocations: 271.2 kB / 1.038 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3332, allocations: 4 kB / 1.038 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006482/0.3338, allocations: 195.2 kB / 1.038 GB, free: 4.965 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.0002302/0.3341, allocations: 131.1 kB / 1.039 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.3357, allocations: 0.8032 MB / 1.039 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3357, allocations: 0 / 1.039 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.3361, allocations: 199.7 kB / 1.04 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006393/0.3367, allocations: 100.9 kB / 1.04 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.3385, allocations: 0.9662 MB / 1.041 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.3389, allocations: 0.8434 MB / 1.041 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.339, allocations: 43.42 kB / 1.041 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of SimCode: time 4.01e-07/0.339, allocations: 0 / 1.041 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of Templates: time 0.01017/0.3492, allocations: 5.91 MB / 1.047 GB, free: 11.88 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