Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001465/0.001465, allocations: 108.5 kB / 16.41 MB, free: 6.016 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.001434/0.001434, allocations: 188.3 kB / 17.34 MB, free: 5.629 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002553/0.002553, allocations: 293.5 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4501/0.4529, allocations: 86.97 MB / 0.767 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.006197/0.4591, allocations: 4.355 MB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003385/0.4625, allocations: 1.589 MB / 0.7728 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000568/0.463, allocations: 31.88 kB / 0.7728 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004445/0.4635, allocations: 166.1 kB / 0.773 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006895/0.4642, allocations: 242 kB / 0.7732 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.4656, allocations: 0.668 MB / 0.7739 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001485/0.4671, allocations: 1.226 MB / 0.7751 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006399/0.4677, allocations: 352 kB / 0.7754 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006571/0.4684, allocations: 485.9 kB / 0.7759 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005118/0.4689, allocations: 465.4 kB / 0.7763 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.4691, allocations: 100 kB / 0.7764 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.4692, allocations: 104 kB / 0.7765 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.4694, allocations: 231.1 kB / 0.7767 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004273/0.4698, allocations: 489 kB / 0.7772 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.4711, allocations: 1.161 MB / 0.7783 GB, free: 8.223 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.4711, allocations: 4 kB / 0.7783 GB, free: 8.219 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4711, allocations: 0 / 0.7783 GB, free: 8.219 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.4711, allocations: 0 / 0.7783 GB, free: 8.219 MB / 0.545 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.002715/0.4738, allocations: 1.429 MB / 0.7797 GB, free: 6.734 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.4739, allocations: 12.03 kB / 0.7798 GB, free: 6.723 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.4741, allocations: 128.1 kB / 0.7799 GB, free: 6.598 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.4756, allocations: 0.7634 MB / 0.7806 GB, free: 5.793 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.4758, allocations: 88.25 kB / 0.7807 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.4759, allocations: 72.38 kB / 0.7808 GB, free: 5.633 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.4773, allocations: 0.7407 MB / 0.7815 GB, free: 4.852 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.4773, allocations: 3.938 kB / 0.7815 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.914e-05/0.4774, allocations: 27.98 kB / 0.7815 GB, free: 4.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.4774, allocations: 16 kB / 0.7815 GB, free: 4.805 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.4786, allocations: 0.5165 MB / 0.782 GB, free: 4.289 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003694/0.4823, allocations: 2.256 MB / 0.7843 GB, free: 1.961 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.4838, allocations: 0.5893 MB / 0.7848 GB, free: 1.367 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005556/0.4844, allocations: 256.8 kB / 0.7851 GB, free: 1.117 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/0.4844, allocations: 12.55 kB / 0.7851 GB, free: 1.105 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007307/0.4851, allocations: 327.2 kB / 0.7854 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 2.926e-06/0.4851, allocations: 0 / 0.7854 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of matching and sorting (n=60): time 0.001759/0.4869, allocations: 0.7561 MB / 0.7861 GB, free: 16 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.487, allocations: 85.67 kB / 0.7862 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.488, allocations: 0.7555 MB / 0.787 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.488, allocations: 37.7 kB / 0.787 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.4884, allocations: 445 kB / 0.7874 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.4886, allocations: 210.2 kB / 0.7876 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.4888, allocations: 110.3 kB / 0.7877 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4889, allocations: 341.9 kB / 0.788 GB, free: 14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004934/0.4894, allocations: 207.4 kB / 0.7882 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005565/0.49, allocations: 300.5 kB / 0.7885 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.491, allocations: 0.5075 MB / 0.789 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.491, allocations: 0 / 0.789 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001319/0.4923, allocations: 0.6624 MB / 0.7897 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4924, allocations: 6.812 kB / 0.7897 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4924, allocations: 7.938 kB / 0.7897 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.4924, allocations: 4 kB / 0.7897 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006965/0.4931, allocations: 147.8 kB / 0.7898 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.4931, allocations: 7.938 kB / 0.7898 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/0.4936, allocations: 71.53 kB / 0.7899 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.4936, allocations: 24.09 kB / 0.7899 GB, free: 12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006708/0.4943, allocations: 357.4 kB / 0.7903 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005173/0.4948, allocations: 292.4 kB / 0.7906 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000967/0.4958, allocations: 495.7 kB / 0.791 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.4958, allocations: 0 / 0.791 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001202/0.497, allocations: 0.6311 MB / 0.7916 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.497, allocations: 8 kB / 0.7916 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-06/0.497, allocations: 96 / 0.7916 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.497, allocations: 11.98 kB / 0.7917 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006426/0.4976, allocations: 140 kB / 0.7918 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.4976, allocations: 19.92 kB / 0.7918 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.4981, allocations: 55.59 kB / 0.7919 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.4981, allocations: 20 kB / 0.7919 GB, free: 9.926 MB / 0.5606 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.0001991/0.4983, allocations: 216.1 kB / 0.7921 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.4985, allocations: 99.34 kB / 0.7922 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.4987, allocations: 101.2 kB / 0.7923 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.4987, allocations: 12 kB / 0.7923 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.4987, allocations: 3.938 kB / 0.7923 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4987, allocations: 3.984 kB / 0.7923 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.5011, allocations: 1.431 MB / 0.7937 GB, free: 8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5011, allocations: 8 kB / 0.7937 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/0.5017, allocations: 111.8 kB / 0.7938 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5017, allocations: 0 / 0.7938 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.5017, allocations: 12 kB / 0.7938 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.5017, allocations: 4 kB / 0.7938 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5017, allocations: 3.984 kB / 0.7938 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.5036, allocations: 0.9795 MB / 0.7948 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.5039, allocations: 220.3 kB / 0.795 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.367e-05/0.5039, allocations: 12 kB / 0.795 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/0.5044, allocations: 39.95 kB / 0.795 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/0.5045, allocations: 36.45 kB / 0.7951 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.5045, allocations: 19.98 kB / 0.7951 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000712/0.5053, allocations: 0.5185 MB / 0.7956 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5053, allocations: 0 / 0.7956 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007605/0.506, allocations: 275.2 kB / 0.7959 GB, free: 5.742 MB / 0.5606 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.0001488/0.5062, allocations: 122.4 kB / 0.796 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001707/0.5079, allocations: 0.7455 MB / 0.7967 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5079, allocations: 7.984 kB / 0.7967 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006162/0.5085, allocations: 247.1 kB / 0.797 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.5097, allocations: 269 kB / 0.7972 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.5124, allocations: 1.57 MB / 0.7987 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.5131, allocations: 0.9937 MB / 0.7997 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000449/0.5135, allocations: 114.8 kB / 0.7998 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.5137, allocations: 59.44 kB / 0.7999 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.5137, allocations: 4 kB / 0.7999 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of Templates: time 0.01831/0.532, allocations: 9.396 MB / 0.8091 GB, free: 8.285 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)