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.00138/0.00138, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.7/2.7, allocations: 437 MB / 0.7103 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 71.89 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7732/0.7744, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003362/0.7778, allocations: 2.077 MB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.78, allocations: 1.607 MB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.7802, allocations: 11.94 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.7805, allocations: 79.06 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.7807, allocations: 87.19 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007281/0.7814, allocations: 318.9 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005683/0.782, allocations: 0.6881 MB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004903/0.7825, allocations: 329.3 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.7827, allocations: 255 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.783, allocations: 278.6 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.69e-05/0.7831, allocations: 76 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.7833, allocations: 99.91 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.7834, allocations: 139.5 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.7836, allocations: 302.4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000704/0.7843, allocations: 0.7924 MB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7843, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7844, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.7844, allocations: 4 kB / 1.024 GB, free: 11.36 MB / 0.7794 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.001637/0.786, allocations: 0.9031 MB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.7861, allocations: 12.03 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.7862, allocations: 64.19 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.7867, allocations: 408.5 kB / 1.026 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.7868, allocations: 41.38 kB / 1.026 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.058e-05/0.7869, allocations: 60.38 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000784/0.7877, allocations: 499.5 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.7877, allocations: 192 / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.7877, allocations: 31.92 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.7878, allocations: 12 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006695/0.7884, allocations: 351.8 kB / 1.027 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.7908, allocations: 1.562 MB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009599/0.7918, allocations: 0.87 MB / 1.029 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003784/0.7921, allocations: 227.4 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.7922, allocations: 8 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000527/0.7927, allocations: 256.8 kB / 1.029 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=47): time 2.104e-06/0.7927, allocations: 0 / 1.029 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47): time 0.001046/0.7938, allocations: 0.5219 MB / 1.03 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.7939, allocations: 107.2 kB / 1.03 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.7943, allocations: 389.6 kB / 1.03 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.7943, allocations: 41.7 kB / 1.03 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.7945, allocations: 249 kB / 1.031 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.7946, allocations: 161.6 kB / 1.031 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.7948, allocations: 98.23 kB / 1.031 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.7949, allocations: 354.8 kB / 1.031 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/0.7954, allocations: 187 kB / 1.031 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.7958, allocations: 288.2 kB / 1.032 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007232/0.7966, allocations: 427.4 kB / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7966, allocations: 0 / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00108/0.7977, allocations: 0.5674 MB / 1.033 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.7977, allocations: 45.84 kB / 1.033 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7977, allocations: 4 kB / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7978, allocations: 4 kB / 1.033 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.7982, allocations: 95.83 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.7982, allocations: 7.938 kB / 1.033 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.7986, allocations: 83.47 kB / 1.033 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.7986, allocations: 23.98 kB / 1.033 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004216/0.7991, allocations: 285.2 kB / 1.033 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003536/0.7994, allocations: 256.3 kB / 1.033 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005387/0.8, allocations: 399.3 kB / 1.034 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.8, allocations: 0 / 1.034 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0008689/0.8009, allocations: 0.5206 MB / 1.034 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.8009, allocations: 37.7 kB / 1.034 GB, free: 496 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.8009, allocations: 7.922 kB / 1.034 GB, free: 488 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-06/0.8009, allocations: 4 kB / 1.034 GB, free: 484 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.8013, allocations: 91.83 kB / 1.034 GB, free: 392 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.8013, allocations: 4 kB / 1.034 GB, free: 388 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.8017, allocations: 79.75 kB / 1.035 GB, free: 308 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.8017, allocations: 20 kB / 1.035 GB, free: 288 kB / 0.7794 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.00015/0.8019, allocations: 204.2 kB / 1.035 GB, free: 76 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.8019, allocations: 47.47 kB / 1.035 GB, free: 28 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007854/0.8027, allocations: 437.3 kB / 1.035 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.8027, allocations: 4 kB / 1.035 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.8027, allocations: 0 / 1.035 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.8028, allocations: 3.984 kB / 1.035 GB, free: 15.58 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.8043, allocations: 1.139 MB / 1.036 GB, free: 14.37 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.8043, allocations: 0 / 1.036 GB, free: 14.37 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.8047, allocations: 91.83 kB / 1.036 GB, free: 14.28 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.8047, allocations: 4.188 kB / 1.036 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.8048, allocations: 12 kB / 1.036 GB, free: 14.26 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.8048, allocations: 4 kB / 1.036 GB, free: 14.26 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.8048, allocations: 3.938 kB / 1.036 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.8059, allocations: 0.7248 MB / 1.037 GB, free: 13.49 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.69e-05/0.806, allocations: 132.4 kB / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.806, allocations: 8 kB / 1.037 GB, free: 13.33 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.8063, allocations: 31.97 kB / 1.037 GB, free: 13.3 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.8063, allocations: 35.69 kB / 1.037 GB, free: 13.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.8064, allocations: 23.92 kB / 1.037 GB, free: 13.24 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002638/0.8066, allocations: 267.2 kB / 1.038 GB, free: 12.99 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8066, allocations: 3.938 kB / 1.038 GB, free: 12.98 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005817/0.8072, allocations: 195.3 kB / 1.038 GB, free: 12.79 MB / 0.795 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.0002101/0.8074, allocations: 127.2 kB / 1.038 GB, free: 12.66 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.8089, allocations: 0.7961 MB / 1.039 GB, free: 11.84 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.8089, allocations: 0 / 1.039 GB, free: 11.84 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.8093, allocations: 195.9 kB / 1.039 GB, free: 11.65 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.8099, allocations: 93.12 kB / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.8114, allocations: 0.9428 MB / 1.04 GB, free: 10.57 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.8118, allocations: 0.8473 MB / 1.041 GB, free: 9.691 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002163/0.8121, allocations: 59.3 kB / 1.041 GB, free: 9.633 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.8122, allocations: 35.44 kB / 1.041 GB, free: 9.598 MB / 0.795 GB Notification: Performance of SimCode: time 4.41e-07/0.8122, allocations: 0 / 1.041 GB, free: 9.598 MB / 0.795 GB Notification: Performance of Templates: time 0.01155/0.8238, allocations: 5.992 MB / 1.047 GB, free: 3.668 MB / 0.795 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/jenkins/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