Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002206/0.002206, allocations: 192.6 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.1 MB / 222 MB, free: 4.949 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 292.2 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 64.38 kB / 0.6708 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2501, allocations: 114.5 MB / 0.7827 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005904/0.2561, allocations: 4.342 MB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003455/0.2596, allocations: 1.583 MB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009757/0.2606, allocations: 35.81 kB / 0.7885 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000623/0.2612, allocations: 126.8 kB / 0.7886 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.2623, allocations: 190.6 kB / 0.7888 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.2638, allocations: 0.616 MB / 0.7894 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.265, allocations: 1.14 MB / 0.7905 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006489/0.2657, allocations: 0.4887 MB / 0.791 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000467/0.2662, allocations: 401.8 kB / 0.7914 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.2665, allocations: 425.4 kB / 0.7918 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.2667, allocations: 48 kB / 0.7918 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.329e-05/0.2668, allocations: 48 kB / 0.7919 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.2669, allocations: 183 kB / 0.792 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.2672, allocations: 441 kB / 0.7924 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007606/0.268, allocations: 1.059 MB / 0.7935 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.268, allocations: 0 / 0.7935 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.268, allocations: 0 / 0.7935 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.268, allocations: 4 kB / 0.7935 GB, free: 2.895 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002297/0.2703, allocations: 1.399 MB / 0.7949 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2704, allocations: 8.031 kB / 0.7949 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.2706, allocations: 127.4 kB / 0.795 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.2717, allocations: 0.7352 MB / 0.7957 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.592e-05/0.2718, allocations: 80.27 kB / 0.7958 GB, free: 456 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.723e-05/0.2719, allocations: 72.36 kB / 0.7958 GB, free: 384 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.2731, allocations: 0.7368 MB / 0.7966 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.2731, allocations: 3.938 kB / 0.7966 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.2732, allocations: 28 kB / 0.7966 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.2732, allocations: 20 kB / 0.7966 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.2743, allocations: 0.5165 MB / 0.7971 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/0.2774, allocations: 2.282 MB / 0.7993 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.2788, allocations: 0.6296 MB / 0.8 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/0.2793, allocations: 275.1 kB / 0.8002 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.678e-05/0.2793, allocations: 4.562 kB / 0.8002 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007066/0.28, allocations: 331 kB / 0.8005 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 2.685e-06/0.28, allocations: 0 / 0.8005 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.00153/0.2816, allocations: 0.7439 MB / 0.8013 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.2817, allocations: 85.67 kB / 0.8014 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008276/0.2825, allocations: 0.7635 MB / 0.8021 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.2825, allocations: 41.7 kB / 0.8021 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.2829, allocations: 440.5 kB / 0.8026 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.283, allocations: 209 kB / 0.8028 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.2832, allocations: 106.3 kB / 0.8029 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2833, allocations: 333.9 kB / 0.8032 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/0.2837, allocations: 215.3 kB / 0.8034 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/0.2842, allocations: 300.5 kB / 0.8037 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009141/0.2852, allocations: 0.4996 MB / 0.8042 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2852, allocations: 8 kB / 0.8042 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001203/0.2864, allocations: 0.6463 MB / 0.8048 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2864, allocations: 12 kB / 0.8048 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2864, allocations: 0 / 0.8048 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/0.2865, allocations: 8 kB / 0.8048 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.2871, allocations: 147.7 kB / 0.805 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.2871, allocations: 7.938 kB / 0.805 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.2876, allocations: 79.28 kB / 0.805 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.2876, allocations: 20 kB / 0.8051 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006262/0.2882, allocations: 364.6 kB / 0.8054 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004495/0.2887, allocations: 284.5 kB / 0.8057 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008388/0.2896, allocations: 495.7 kB / 0.8061 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.983e-06/0.2896, allocations: 0 / 0.8061 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001068/0.2906, allocations: 0.6344 MB / 0.8068 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.2907, allocations: 4 kB / 0.8068 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2907, allocations: 4 kB / 0.8068 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.2907, allocations: 4 kB / 0.8068 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.2913, allocations: 147.8 kB / 0.8069 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.2913, allocations: 4.25 kB / 0.8069 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.2917, allocations: 63.45 kB / 0.807 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.2917, allocations: 16 kB / 0.807 GB, free: 4.594 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0001875/0.2919, allocations: 224.2 kB / 0.8072 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.292, allocations: 94.78 kB / 0.8073 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.2922, allocations: 101.3 kB / 0.8074 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.2923, allocations: 4 kB / 0.8074 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.2923, allocations: 11.94 kB / 0.8074 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.2923, allocations: 3.984 kB / 0.8074 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.2944, allocations: 1.427 MB / 0.8088 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2944, allocations: 0 / 0.8088 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/0.2949, allocations: 115.8 kB / 0.8089 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.295, allocations: 0 / 0.8089 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.295, allocations: 19.98 kB / 0.8089 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.295, allocations: 8 kB / 0.809 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.295, allocations: 0 / 0.809 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.2966, allocations: 0.9625 MB / 0.8099 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.2968, allocations: 223.8 kB / 0.8101 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.627e-05/0.2969, allocations: 15.94 kB / 0.8101 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.2974, allocations: 35.97 kB / 0.8102 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/0.2975, allocations: 36.45 kB / 0.8102 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.2975, allocations: 19.98 kB / 0.8102 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006122/0.2981, allocations: 0.5187 MB / 0.8107 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2981, allocations: 0 / 0.8107 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000724/0.2989, allocations: 279 kB / 0.811 GB, free: 412 kB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0001551/0.299, allocations: 121.1 kB / 0.8111 GB, free: 280 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.3006, allocations: 0.7964 MB / 0.8119 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3006, allocations: 0 / 0.8119 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004847/0.3011, allocations: 267.1 kB / 0.8121 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.3022, allocations: 247.6 kB / 0.8124 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.3048, allocations: 1.901 MB / 0.8142 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.3053, allocations: 0.9981 MB / 0.8152 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005238/0.3058, allocations: 122.7 kB / 0.8153 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.306, allocations: 59.42 kB / 0.8154 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of SimCode: time 6.92e-07/0.306, allocations: 0 / 0.8154 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of Templates: time 0.01561/0.3216, allocations: 8.771 MB / 0.8239 GB, free: 3.168 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)