Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.812/1.812, allocations: 292.6 MB / 307.8 MB, free: 7.156 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.001015/0.001015, allocations: 184.7 kB / 376.5 MB, free: 4.465 MB / 298.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.524/1.524, allocations: 225.7 MB / 0.655 GB, free: 13.18 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.0008457/0.0008455, allocations: 99.84 kB / 0.7711 GB, free: 50.42 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004521, allocations: 12 kB / 0.897 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7969/0.7974, allocations: 118.2 MB / 1.012 GB, free: 57.93 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.002195/0.7996, allocations: 1.578 MB / 1.014 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002371/0.802, allocations: 1.528 MB / 1.015 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002508/0.8023, allocations: 8.594 kB / 1.015 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.8025, allocations: 54.81 kB / 1.016 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.8028, allocations: 67.08 kB / 1.016 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.8035, allocations: 224.9 kB / 1.016 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005433/0.804, allocations: 0.5774 MB / 1.016 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004029/0.8044, allocations: 292.4 kB / 1.017 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.8046, allocations: 167.7 kB / 1.017 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.8048, allocations: 186.9 kB / 1.017 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.8048, allocations: 15.84 kB / 1.017 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.465e-05/0.8049, allocations: 39.59 kB / 1.017 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.805, allocations: 74.52 kB / 1.017 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.8052, allocations: 230.5 kB / 1.017 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.8056, allocations: 0.6071 MB / 1.018 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.8056, allocations: 0 / 1.018 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8057, allocations: 1.281 kB / 1.018 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.8057, allocations: 0.5 kB / 1.018 GB, free: 57.18 MB / 0.7136 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.001232/0.8069, allocations: 0.8209 MB / 1.019 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.807, allocations: 16.62 kB / 1.019 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.8071, allocations: 66 kB / 1.019 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.8076, allocations: 428.7 kB / 1.019 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.8076, allocations: 41.31 kB / 1.019 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.867e-05/0.8077, allocations: 53.53 kB / 1.019 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007241/0.8084, allocations: 473.7 kB / 1.02 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.8085, allocations: 0.9062 kB / 1.02 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.8085, allocations: 23 kB / 1.02 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.8085, allocations: 10.53 kB / 1.02 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005949/0.8091, allocations: 339.1 kB / 1.02 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.811, allocations: 1.482 MB / 1.022 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007457/0.8118, allocations: 0.8722 MB / 1.022 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.8121, allocations: 215.8 kB / 1.023 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.8122, allocations: 7.844 kB / 1.023 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004141/0.8126, allocations: 222.6 kB / 1.023 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=41): time 2.074e-06/0.8126, allocations: 2.5 kB / 1.023 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=41): time 0.000902/0.8135, allocations: 0.4953 MB / 1.023 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.8136, allocations: 123.5 kB / 1.023 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.814, allocations: 385.8 kB / 1.024 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.814, allocations: 39.55 kB / 1.024 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.8142, allocations: 259 kB / 1.024 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/0.8143, allocations: 135.5 kB / 1.024 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.8143, allocations: 10.44 kB / 1.024 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.8144, allocations: 354.4 kB / 1.025 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.8147, allocations: 167.3 kB / 1.025 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.8151, allocations: 264.2 kB / 1.025 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/0.8156, allocations: 410.5 kB / 1.025 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.8156, allocations: 1.875 kB / 1.025 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000824/0.8165, allocations: 0.531 MB / 1.026 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.128e-05/0.8166, allocations: 179.7 kB / 1.026 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.8166, allocations: 2.688 kB / 1.026 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.8166, allocations: 6.812 kB / 1.026 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.8169, allocations: 89.22 kB / 1.026 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.817, allocations: 4.188 kB / 1.026 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.8174, allocations: 95.48 kB / 1.026 GB, free: 53.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.8174, allocations: 21.97 kB / 1.026 GB, free: 53.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.8174, allocations: 9.406 kB / 1.026 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006403/0.8181, allocations: 421.8 kB / 1.027 GB, free: 53.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.8181, allocations: 8.5 kB / 1.027 GB, free: 53.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.119e-06/0.8181, allocations: 4.844 kB / 1.027 GB, free: 53.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.8184, allocations: 71.77 kB / 1.027 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.8184, allocations: 5.156 kB / 1.027 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.8187, allocations: 89.81 kB / 1.027 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.8188, allocations: 16.31 kB / 1.027 GB, free: 53.52 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002593/0.819, allocations: 254.8 kB / 1.027 GB, free: 53.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.8191, allocations: 48.03 kB / 1.027 GB, free: 53.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.867e-05/0.8192, allocations: 52.39 kB / 1.027 GB, free: 53.28 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.8192, allocations: 2.875 kB / 1.027 GB, free: 53.28 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.8192, allocations: 3.938 kB / 1.027 GB, free: 53.28 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.8192, allocations: 5.938 kB / 1.027 GB, free: 53.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.8205, allocations: 0.9965 MB / 1.028 GB, free: 52.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.8205, allocations: 3.938 kB / 1.028 GB, free: 52.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003341/0.8209, allocations: 79.77 kB / 1.028 GB, free: 52.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.8209, allocations: 7.172 kB / 1.028 GB, free: 52.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.8209, allocations: 13.59 kB / 1.028 GB, free: 52.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.8209, allocations: 0 / 1.028 GB, free: 52.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8209, allocations: 1.312 kB / 1.028 GB, free: 52.94 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/0.8219, allocations: 0.651 MB / 1.029 GB, free: 52.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.994e-05/0.822, allocations: 131.3 kB / 1.029 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.8221, allocations: 10.34 kB / 1.029 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.8223, allocations: 31.27 kB / 1.029 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.8223, allocations: 24.7 kB / 1.029 GB, free: 52.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.8224, allocations: 13.22 kB / 1.029 GB, free: 52.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002633/0.8226, allocations: 277.6 kB / 1.029 GB, free: 52.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8226, allocations: 3.938 kB / 1.029 GB, free: 52.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005755/0.8232, allocations: 191.9 kB / 1.03 GB, free: 52.5 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002371/0.8235, allocations: 126.3 kB / 1.03 GB, free: 52.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.8246, allocations: 0.723 MB / 1.03 GB, free: 52.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8246, allocations: 0 / 1.03 GB, free: 52.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.8249, allocations: 178.4 kB / 1.031 GB, free: 52.24 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.8255, allocations: 94.5 kB / 1.031 GB, free: 52.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.8269, allocations: 1.039 MB / 1.032 GB, free: 51.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.8272, allocations: 0.8525 MB / 1.033 GB, free: 50.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000214/0.8274, allocations: 49.95 kB / 1.033 GB, free: 50.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.8275, allocations: 38.08 kB / 1.033 GB, free: 50.95 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.8275, allocations: 0 / 1.033 GB, free: 50.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.01099/0.8385, allocations: 5.246 MB / 1.038 GB, free: 50.69 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)