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.001517/0.001517, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001766/0.001766, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002198/0.002198, allocations: 296 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.956/0.956, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 95.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4792, allocations: 86.98 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.004913/0.4842, allocations: 4.339 MB / 0.7713 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002632/0.4868, allocations: 1.582 MB / 0.7728 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003761/0.4872, allocations: 35.81 kB / 0.7728 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.4876, allocations: 174.2 kB / 0.773 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00054/0.4882, allocations: 218.1 kB / 0.7732 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.4893, allocations: 0.6676 MB / 0.7739 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.4904, allocations: 1.237 MB / 0.7751 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006472/0.491, allocations: 0.4997 MB / 0.7756 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004776/0.4915, allocations: 477.9 kB / 0.776 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004145/0.492, allocations: 469.4 kB / 0.7765 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.4921, allocations: 100 kB / 0.7766 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.4922, allocations: 104 kB / 0.7767 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.4924, allocations: 235.1 kB / 0.7769 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003137/0.4927, allocations: 485 kB / 0.7773 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008868/0.4936, allocations: 1.158 MB / 0.7785 GB, free: 8.102 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4936, allocations: 3.938 kB / 0.7785 GB, free: 8.098 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4936, allocations: 0 / 0.7785 GB, free: 8.098 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.4936, allocations: 0 / 0.7785 GB, free: 8.098 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.00215/0.4958, allocations: 1.399 MB / 0.7798 GB, free: 6.645 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.4958, allocations: 12.03 kB / 0.7799 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.496, allocations: 119.5 kB / 0.78 GB, free: 6.516 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.4972, allocations: 0.7587 MB / 0.7807 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.079e-05/0.4973, allocations: 80.27 kB / 0.7808 GB, free: 5.633 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-05/0.4974, allocations: 68.38 kB / 0.7809 GB, free: 5.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.4986, allocations: 0.7368 MB / 0.7816 GB, free: 4.789 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4986, allocations: 7.938 kB / 0.7816 GB, free: 4.781 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.037e-05/0.4987, allocations: 28 kB / 0.7816 GB, free: 4.754 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.4987, allocations: 19.98 kB / 0.7816 GB, free: 4.734 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.4998, allocations: 0.5165 MB / 0.7821 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/0.5028, allocations: 2.247 MB / 0.7843 GB, free: 1.898 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.5042, allocations: 0.6227 MB / 0.7849 GB, free: 1.273 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000502/0.5047, allocations: 276.8 kB / 0.7852 GB, free: 1.004 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.5047, allocations: 4.562 kB / 0.7852 GB, free: 1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006491/0.5054, allocations: 323.1 kB / 0.7855 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 3.045e-06/0.5054, allocations: 0 / 0.7855 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of matching and sorting (n=60): time 0.001693/0.5071, allocations: 0.7555 MB / 0.7862 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.5072, allocations: 85.67 kB / 0.7863 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000789/0.5079, allocations: 0.7594 MB / 0.7871 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.508, allocations: 37.7 kB / 0.7871 GB, free: 15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.5083, allocations: 440.5 kB / 0.7875 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.5085, allocations: 201 kB / 0.7877 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.5086, allocations: 114.2 kB / 0.7878 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5087, allocations: 334 kB / 0.7881 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/0.5092, allocations: 203.4 kB / 0.7883 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.5097, allocations: 308.4 kB / 0.7886 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000954/0.5107, allocations: 0.5113 MB / 0.7891 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5107, allocations: 0 / 0.7891 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001175/0.5119, allocations: 0.6503 MB / 0.7898 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.5119, allocations: 4 kB / 0.7898 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5119, allocations: 7.938 kB / 0.7898 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.5119, allocations: 4 kB / 0.7898 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/0.5126, allocations: 143.8 kB / 0.7899 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.5126, allocations: 7.984 kB / 0.7899 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/0.513, allocations: 71.3 kB / 0.79 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.5131, allocations: 35.98 kB / 0.79 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005762/0.5137, allocations: 353.3 kB / 0.7904 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004891/0.5142, allocations: 296.5 kB / 0.7907 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008295/0.515, allocations: 491.7 kB / 0.7911 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/0.515, allocations: 0 / 0.7911 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.00107/0.5161, allocations: 0.6306 MB / 0.7917 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.5161, allocations: 8 kB / 0.7917 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5161, allocations: 3.984 kB / 0.7917 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.5161, allocations: 8 kB / 0.7918 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.5167, allocations: 140 kB / 0.7919 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.5167, allocations: 12 kB / 0.7919 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.5171, allocations: 55.56 kB / 0.792 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.5172, allocations: 23.94 kB / 0.792 GB, free: 9.844 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.0002345/0.5174, allocations: 214.9 kB / 0.7922 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.5176, allocations: 94.78 kB / 0.7923 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.5178, allocations: 105.2 kB / 0.7924 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.5178, allocations: 7.984 kB / 0.7924 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5178, allocations: 0 / 0.7924 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.5181, allocations: 223.7 kB / 0.7926 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-05/0.5182, allocations: 16 kB / 0.7926 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.5186, allocations: 31.97 kB / 0.7926 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.5187, allocations: 32.52 kB / 0.7927 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001552/0.5203, allocations: 0.6743 MB / 0.7933 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00173/0.522, allocations: 1.075 MB / 0.7944 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004642/0.5225, allocations: 260.4 kB / 0.7946 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005677/0.5231, allocations: 0.5146 MB / 0.7951 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of Backend: time 6.12e-07/0.5231, allocations: 0 / 0.7951 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.5247, allocations: 0.6875 MB / 0.7958 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002772/0.5275, allocations: 2.042 MB / 0.7978 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of Templates: time 0.01947/0.547, allocations: 12.9 MB / 0.8104 GB, free: 7.012 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)