Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 297.4 MB / 312.6 MB, free: 2.941 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 192.6 kB / 382.3 MB, free: 14.81 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 225.7 MB / 0.6617 GB, free: 7.227 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008249/0.0008249, allocations: 91.14 kB / 0.7789 GB, free: 46.78 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003844, allocations: 12.72 kB / 0.9059 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7763/0.7767, allocations: 119.2 MB / 1.022 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.002273/0.779, allocations: 1.58 MB / 1.024 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.7819, allocations: 1.715 MB / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003784/0.7823, allocations: 9.062 kB / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.7826, allocations: 62.27 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.7829, allocations: 59 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006554/0.7836, allocations: 283.3 kB / 1.026 GB, free: 55.17 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006582/0.7842, allocations: 0.6042 MB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004857/0.7847, allocations: 289.2 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.785, allocations: 182.6 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.7853, allocations: 190.1 kB / 1.027 GB, free: 54.56 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.711e-05/0.7853, allocations: 21.25 kB / 1.027 GB, free: 54.56 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.7855, allocations: 30.39 kB / 1.027 GB, free: 54.55 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-05/0.7856, allocations: 83.98 kB / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.7858, allocations: 238.1 kB / 1.027 GB, free: 54.33 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006609/0.7865, allocations: 0.7379 MB / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7865, allocations: 3.375 kB / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7865, allocations: 0.8125 kB / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.7865, allocations: 0 / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001288/0.7878, allocations: 0.8111 MB / 1.029 GB, free: 53.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.7879, allocations: 14.25 kB / 1.029 GB, free: 53.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.788, allocations: 68.36 kB / 1.029 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.7885, allocations: 434.6 kB / 1.029 GB, free: 53.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.7886, allocations: 38.92 kB / 1.03 GB, free: 53.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.51e-05/0.7887, allocations: 54 kB / 1.03 GB, free: 53.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000764/0.7895, allocations: 470.4 kB / 1.03 GB, free: 52.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.7895, allocations: 192 / 1.03 GB, free: 52.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.7895, allocations: 25.81 kB / 1.03 GB, free: 52.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.7895, allocations: 10.08 kB / 1.03 GB, free: 52.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006612/0.7902, allocations: 345 kB / 1.03 GB, free: 52.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.7922, allocations: 1.48 MB / 1.032 GB, free: 51.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/0.793, allocations: 0.8747 MB / 1.033 GB, free: 51.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.7933, allocations: 213.1 kB / 1.033 GB, free: 51.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.7934, allocations: 5.281 kB / 1.033 GB, free: 51.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004334/0.7938, allocations: 230.5 kB / 1.033 GB, free: 50.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 2.896e-06/0.7938, allocations: 5.281 kB / 1.033 GB, free: 50.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.0009329/0.7948, allocations: 0.5009 MB / 1.034 GB, free: 50.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.7948, allocations: 108.8 kB / 1.034 GB, free: 50.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.7952, allocations: 390.2 kB / 1.034 GB, free: 50.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.7953, allocations: 33.48 kB / 1.034 GB, free: 50.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.7954, allocations: 261.9 kB / 1.034 GB, free: 50.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.083e-05/0.7955, allocations: 136.6 kB / 1.034 GB, free: 50.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.7956, allocations: 10.97 kB / 1.035 GB, free: 50.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.7957, allocations: 360 kB / 1.035 GB, free: 49.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.796, allocations: 165.2 kB / 1.035 GB, free: 49.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.7964, allocations: 265.3 kB / 1.035 GB, free: 49.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005858/0.797, allocations: 416.2 kB / 1.036 GB, free: 49.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.797, allocations: 0 / 1.036 GB, free: 49.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008497/0.7978, allocations: 0.5325 MB / 1.036 GB, free: 49.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.442e-05/0.7979, allocations: 180.7 kB / 1.036 GB, free: 48.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.7979, allocations: 1.406 kB / 1.036 GB, free: 48.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.798, allocations: 7.297 kB / 1.036 GB, free: 48.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.7983, allocations: 91.78 kB / 1.036 GB, free: 48.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.7984, allocations: 3.375 kB / 1.036 GB, free: 48.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.7987, allocations: 98 kB / 1.037 GB, free: 48.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.7988, allocations: 24.08 kB / 1.037 GB, free: 48.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/0.7988, allocations: 3.531 kB / 1.037 GB, free: 48.79 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005671/0.7994, allocations: 424 kB / 1.037 GB, free: 48.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.7994, allocations: 3.406 kB / 1.037 GB, free: 48.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/0.7994, allocations: 3.094 kB / 1.037 GB, free: 48.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.7997, allocations: 81.3 kB / 1.037 GB, free: 48.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.7997, allocations: 5.297 kB / 1.037 GB, free: 48.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.8, allocations: 88.52 kB / 1.037 GB, free: 48.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.8001, allocations: 17.55 kB / 1.037 GB, free: 48.55 MB / 0.698 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,$PRE.pulse.booPul.y,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 (52): * Single equations (assignments): 51 * 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.0002004/0.8003, allocations: 262.1 kB / 1.037 GB, free: 48.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.8003, allocations: 39.41 kB / 1.037 GB, free: 48.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.092e-05/0.8004, allocations: 50.67 kB / 1.038 GB, free: 48.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.8004, allocations: 6.969 kB / 1.038 GB, free: 48.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.8004, allocations: 3.938 kB / 1.038 GB, free: 48.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.8005, allocations: 7.828 kB / 1.038 GB, free: 48.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.8017, allocations: 0.9986 MB / 1.038 GB, free: 47.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8017, allocations: 10.91 kB / 1.039 GB, free: 47.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.802, allocations: 72.08 kB / 1.039 GB, free: 47.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.802, allocations: 2.031 kB / 1.039 GB, free: 47.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.8021, allocations: 10.5 kB / 1.039 GB, free: 47.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.8021, allocations: 0 / 1.039 GB, free: 47.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8021, allocations: 0 / 1.039 GB, free: 47.65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009531/0.803, allocations: 0.6543 MB / 1.039 GB, free: 47.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.8031, allocations: 132 kB / 1.039 GB, free: 47.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.8032, allocations: 11.38 kB / 1.039 GB, free: 47.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.8034, allocations: 27.55 kB / 1.039 GB, free: 47.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.8035, allocations: 21.7 kB / 1.039 GB, free: 47.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.8035, allocations: 17.14 kB / 1.039 GB, free: 47.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002942/0.8038, allocations: 281 kB / 1.04 GB, free: 47.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8038, allocations: 3.938 kB / 1.04 GB, free: 47.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005729/0.8044, allocations: 183.1 kB / 1.04 GB, free: 46.96 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (41): * Single equations (assignments): 40 * 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.0001836/0.8046, allocations: 131.4 kB / 1.04 GB, free: 46.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.8057, allocations: 0.7158 MB / 1.041 GB, free: 46.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8057, allocations: 2.062 kB / 1.041 GB, free: 46.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.806, allocations: 184.2 kB / 1.041 GB, free: 46.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.8066, allocations: 100.1 kB / 1.041 GB, free: 46.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.8079, allocations: 1.096 MB / 1.042 GB, free: 45.72 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.8082, allocations: 0.8448 MB / 1.043 GB, free: 45.01 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002061/0.8085, allocations: 56.48 kB / 1.043 GB, free: 45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.177e-05/0.8085, allocations: 34.31 kB / 1.043 GB, free: 45 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/0.8086, allocations: 1.062 kB / 1.043 GB, free: 45 MB / 0.698 GB Notification: Performance of Templates: time 0.01166/0.8202, allocations: 5.376 MB / 1.048 GB, free: 44.66 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)