Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009008/0.0009008, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009929/0.0009929, allocations: 161 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9282/0.9282, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.948/1.948, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.069e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.002838/0.002859, allocations: 1.865 MB / 0.7771 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002372/0.005231, allocations: 1.684 MB / 0.7787 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.005443, allocations: 8.594 kB / 0.7787 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.005639, allocations: 87 kB / 0.7788 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.005937, allocations: 101.3 kB / 0.7789 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005793/0.006516, allocations: 328.4 kB / 0.7792 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006233/0.00714, allocations: 0.689 MB / 0.7799 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.00748, allocations: 227.8 kB / 0.7801 GB, free: 416 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000405/0.007885, allocations: 403.1 kB / 0.7805 GB, free: 12 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.008137, allocations: 212.3 kB / 0.7807 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.405e-05/0.008221, allocations: 72.72 kB / 0.7808 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.008338, allocations: 91.97 kB / 0.7808 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.00844, allocations: 140.4 kB / 0.781 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.008604, allocations: 203.4 kB / 0.7812 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.00909, allocations: 482.8 kB / 0.7816 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.009092, allocations: 0 / 0.7816 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.009093, allocations: 1.719 kB / 0.7816 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.009099, allocations: 0 / 0.7816 GB, free: 14.83 MB / 0.7448 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.0009707/0.01007, allocations: 0.8189 MB / 0.7824 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.0101, allocations: 9.344 kB / 0.7824 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.01021, allocations: 84.86 kB / 0.7825 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.01057, allocations: 278.1 kB / 0.7828 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.01061, allocations: 45.31 kB / 0.7828 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.791e-05/0.01068, allocations: 60.36 kB / 0.7829 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/0.01109, allocations: 414.8 kB / 0.7833 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.0111, allocations: 2.938 kB / 0.7833 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.01113, allocations: 20.38 kB / 0.7833 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.01114, allocations: 16.31 kB / 0.7833 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.01132, allocations: 122.9 kB / 0.7834 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.01262, allocations: 0.9518 MB / 0.7844 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.01293, allocations: 253.6 kB / 0.7846 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.01304, allocations: 103 kB / 0.7847 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.01306, allocations: 11.94 kB / 0.7847 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.01325, allocations: 165.7 kB / 0.7849 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=47): time 2.916e-06/0.01325, allocations: 0.7188 kB / 0.7849 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47): time 0.0003425/0.01359, allocations: 250 kB / 0.7851 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.01364, allocations: 116 kB / 0.7852 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.01387, allocations: 303.3 kB / 0.7855 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.0139, allocations: 38.77 kB / 0.7856 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.01402, allocations: 229.8 kB / 0.7858 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.91e-05/0.01412, allocations: 170.5 kB / 0.7859 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.01424, allocations: 102.9 kB / 0.786 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.01435, allocations: 354.7 kB / 0.7864 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.0145, allocations: 105 kB / 0.7865 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.0147, allocations: 297.2 kB / 0.7868 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.01495, allocations: 251.1 kB / 0.787 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.01496, allocations: 4 kB / 0.787 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003852/0.01534, allocations: 343.3 kB / 0.7873 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.01537, allocations: 34.52 kB / 0.7874 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.01538, allocations: 4 kB / 0.7874 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.01539, allocations: 4.875 kB / 0.7874 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.01563, allocations: 87.83 kB / 0.7874 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01563, allocations: 4.938 kB / 0.7875 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.01583, allocations: 76.5 kB / 0.7875 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.01586, allocations: 20 kB / 0.7875 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001762/0.01603, allocations: 183.8 kB / 0.7877 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001875/0.01622, allocations: 296.2 kB / 0.788 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002335/0.01645, allocations: 250.7 kB / 0.7882 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.01646, allocations: 5.906 kB / 0.7882 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0003491/0.01681, allocations: 338.7 kB / 0.7886 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.01683, allocations: 37.7 kB / 0.7886 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/0.01683, allocations: 0 / 0.7886 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-06/0.01684, allocations: 5.031 kB / 0.7886 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.01704, allocations: 91.83 kB / 0.7887 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.01704, allocations: 7.984 kB / 0.7887 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.01722, allocations: 57.5 kB / 0.7888 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.01724, allocations: 16 kB / 0.7888 GB, free: 7.094 MB / 0.7448 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,pidSca.con1.y,pidNoSca.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.0001192/0.01736, allocations: 211.6 kB / 0.789 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.01741, allocations: 43.91 kB / 0.789 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.01769, allocations: 225.3 kB / 0.7892 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01769, allocations: 4 kB / 0.7892 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.01769, allocations: 96 / 0.7892 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.0177, allocations: 7.969 kB / 0.7892 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007451/0.01845, allocations: 0.6234 MB / 0.7899 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.01845, allocations: 0 / 0.7899 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.01866, allocations: 80.34 kB / 0.7899 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.01867, allocations: 6.938 kB / 0.7899 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.01869, allocations: 15.98 kB / 0.79 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.01869, allocations: 4 kB / 0.79 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01869, allocations: 0 / 0.79 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.01911, allocations: 422.9 kB / 0.7904 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.01916, allocations: 47.53 kB / 0.7904 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.01919, allocations: 12 kB / 0.7904 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.01932, allocations: 22.42 kB / 0.7904 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.01937, allocations: 31.94 kB / 0.7905 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.01938, allocations: 11.94 kB / 0.7905 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001159/0.0195, allocations: 128.7 kB / 0.7906 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0195, allocations: 0 / 0.7906 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004888/0.01999, allocations: 215.3 kB / 0.7908 GB, free: 4.926 MB / 0.7448 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.0001747/0.02016, allocations: 105.7 kB / 0.7909 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005667/0.02073, allocations: 0.5455 MB / 0.7914 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.02074, allocations: 4 kB / 0.7914 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.02087, allocations: 120.3 kB / 0.7916 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.02126, allocations: 100.7 kB / 0.7917 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.02227, allocations: 0.8305 MB / 0.7925 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.92e-05/0.02236, allocations: 124.6 kB / 0.7926 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.02251, allocations: 52.06 kB / 0.7926 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.02274, allocations: 148.4 kB / 0.7928 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.02274, allocations: 0 / 0.7928 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of Templates: time 0.009587/0.03233, allocations: 6.747 MB / 0.7994 GB, free: 12.29 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.1594956601038575]