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.005079/0.005079, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001225/0.001225, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 298.7 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9079/0.9079, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 95.86 kB / 0.6814 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.389, allocations: 86.98 MB / 0.7664 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.004794/0.3938, allocations: 4.339 MB / 0.7706 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002533/0.3964, allocations: 1.586 MB / 0.7721 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003521/0.3967, allocations: 31.88 kB / 0.7722 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.3971, allocations: 174.1 kB / 0.7723 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005343/0.3977, allocations: 222.1 kB / 0.7726 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.3988, allocations: 0.6679 MB / 0.7732 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009967/0.3998, allocations: 1.23 MB / 0.7744 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006161/0.4004, allocations: 0.5077 MB / 0.7749 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004461/0.4009, allocations: 477.9 kB / 0.7754 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/0.4013, allocations: 465.4 kB / 0.7758 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.4014, allocations: 100 kB / 0.7759 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.4015, allocations: 104 kB / 0.776 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.4017, allocations: 231.1 kB / 0.7762 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.402, allocations: 489 kB / 0.7767 GB, free: 9.418 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00088/0.4029, allocations: 1.154 MB / 0.7778 GB, free: 8.262 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4029, allocations: 0 / 0.7778 GB, free: 8.262 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4029, allocations: 4 kB / 0.7778 GB, free: 8.258 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.4029, allocations: 0 / 0.7778 GB, free: 8.258 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.002053/0.405, allocations: 1.403 MB / 0.7792 GB, free: 6.801 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.405, allocations: 8.031 kB / 0.7792 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.4052, allocations: 123.5 kB / 0.7793 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.4063, allocations: 0.7626 MB / 0.7801 GB, free: 5.867 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.81e-05/0.4064, allocations: 84.2 kB / 0.7801 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.852e-05/0.4065, allocations: 68.36 kB / 0.7802 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.4077, allocations: 0.7368 MB / 0.7809 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.4077, allocations: 0 / 0.7809 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.4078, allocations: 27.94 kB / 0.7809 GB, free: 4.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.4078, allocations: 20 kB / 0.781 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.4088, allocations: 0.5165 MB / 0.7815 GB, free: 4.375 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.4117, allocations: 2.251 MB / 0.7837 GB, free: 2.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.413, allocations: 0.6166 MB / 0.7843 GB, free: 1.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004812/0.4135, allocations: 276.8 kB / 0.7845 GB, free: 1.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.4136, allocations: 12.56 kB / 0.7845 GB, free: 1.148 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000611/0.4142, allocations: 315.1 kB / 0.7848 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 1.914e-06/0.4142, allocations: 0 / 0.7848 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of matching and sorting (n=60): time 0.001458/0.4156, allocations: 0.7555 MB / 0.7856 GB, free: 72 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.4157, allocations: 85.67 kB / 0.7857 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007744/0.4165, allocations: 0.7633 MB / 0.7864 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.4166, allocations: 33.7 kB / 0.7864 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.4168, allocations: 444.5 kB / 0.7869 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.417, allocations: 201 kB / 0.7871 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.4171, allocations: 114.2 kB / 0.7872 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.4173, allocations: 330 kB / 0.7875 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.4177, allocations: 203.4 kB / 0.7877 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.4182, allocations: 308.4 kB / 0.788 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009072/0.4191, allocations: 0.5075 MB / 0.7885 GB, free: 13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4191, allocations: 3.938 kB / 0.7885 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001133/0.4203, allocations: 0.6502 MB / 0.7891 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4203, allocations: 4 kB / 0.7891 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4203, allocations: 4 kB / 0.7891 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4203, allocations: 7.938 kB / 0.7891 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/0.421, allocations: 147.8 kB / 0.7893 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.421, allocations: 8.125 kB / 0.7893 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.4214, allocations: 75.34 kB / 0.7893 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.4214, allocations: 20 kB / 0.7894 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005561/0.422, allocations: 353.4 kB / 0.7897 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004542/0.4224, allocations: 296.4 kB / 0.79 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008181/0.4233, allocations: 495.7 kB / 0.7905 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/0.4233, allocations: 4 kB / 0.7905 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001037/0.4243, allocations: 0.6304 MB / 0.7911 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.4243, allocations: 8 kB / 0.7911 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.4244, allocations: 256 / 0.7911 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.4244, allocations: 12 kB / 0.7911 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.425, allocations: 135.8 kB / 0.7912 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.425, allocations: 11.94 kB / 0.7912 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.4253, allocations: 59.5 kB / 0.7913 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.4254, allocations: 20 kB / 0.7913 GB, free: 10 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.0001465/0.4255, allocations: 218.6 kB / 0.7915 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.4256, allocations: 98.88 kB / 0.7916 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.4258, allocations: 109.1 kB / 0.7917 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4258, allocations: 8 kB / 0.7917 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.4259, allocations: 3.938 kB / 0.7917 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4259, allocations: 0 / 0.7917 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.4278, allocations: 1.439 MB / 0.7931 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4278, allocations: 0 / 0.7931 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.4284, allocations: 107.8 kB / 0.7932 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4284, allocations: 4 kB / 0.7932 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.4284, allocations: 8 kB / 0.7932 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4284, allocations: 4 kB / 0.7932 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4284, allocations: 0 / 0.7932 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.43, allocations: 0.9749 MB / 0.7942 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.4303, allocations: 219.8 kB / 0.7944 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/0.4303, allocations: 12 kB / 0.7944 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.4307, allocations: 31.97 kB / 0.7945 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.4308, allocations: 36.5 kB / 0.7945 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.4309, allocations: 16 kB / 0.7945 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005595/0.4315, allocations: 0.5185 MB / 0.795 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4315, allocations: 0 / 0.795 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006429/0.4321, allocations: 275 kB / 0.7953 GB, free: 5.84 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.0001232/0.4322, allocations: 119.2 kB / 0.7954 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.4337, allocations: 0.7918 MB / 0.7962 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4337, allocations: 0 / 0.7962 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.4342, allocations: 271.1 kB / 0.7964 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.4353, allocations: 275.1 kB / 0.7967 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.4376, allocations: 1.537 MB / 0.7982 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.4381, allocations: 0.9898 MB / 0.7991 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004188/0.4385, allocations: 122.9 kB / 0.7993 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.4387, allocations: 63.42 kB / 0.7993 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.4387, allocations: 0 / 0.7993 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of Templates: time 0.01541/0.4541, allocations: 9.608 MB / 0.8087 GB, free: 8.141 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)