Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 107.4 kB / 16.37 MB, free: 6.258 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.001291/0.001291, allocations: 189.1 kB / 17.3 MB, free: 5.848 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.668/1.668, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.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.968/1.968, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.002177/0.002177, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3204, allocations: 114.5 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.6404/0.9609, allocations: 3.296 MB / 0.788 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003939/0.9649, allocations: 1.71 MB / 0.7897 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006637/0.9656, allocations: 20.97 kB / 0.7897 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005031/0.9662, allocations: 156.3 kB / 0.7899 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005228/0.9667, allocations: 135.2 kB / 0.79 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000615/0.9674, allocations: 351.7 kB / 0.7903 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.9684, allocations: 1.063 MB / 0.7914 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000953/0.9694, allocations: 0.6086 MB / 0.792 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.9699, allocations: 398.4 kB / 0.7923 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003422/0.9702, allocations: 450.4 kB / 0.7928 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.9704, allocations: 124.3 kB / 0.7929 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.9705, allocations: 117.1 kB / 0.793 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.9707, allocations: 249.7 kB / 0.7932 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.971, allocations: 486 kB / 0.7937 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.9722, allocations: 1.328 MB / 0.795 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.9722, allocations: 0.75 kB / 0.795 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.594e-06/0.9722, allocations: 0 / 0.795 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.181e-05/0.9722, allocations: 1.656 kB / 0.795 GB, free: 44.91 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002307/0.9745, allocations: 1.318 MB / 0.7963 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.9746, allocations: 12.34 kB / 0.7963 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.9748, allocations: 118.2 kB / 0.7964 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.9759, allocations: 0.5989 MB / 0.797 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/0.976, allocations: 68.94 kB / 0.7971 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.9761, allocations: 101.9 kB / 0.7972 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.9777, allocations: 0.8468 MB / 0.798 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.9777, allocations: 192 / 0.798 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.055e-05/0.9778, allocations: 40.92 kB / 0.798 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.9778, allocations: 23.97 kB / 0.798 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.9791, allocations: 0.5937 MB / 0.7986 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004202/0.9833, allocations: 2.659 MB / 0.8012 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.9849, allocations: 1.296 MB / 0.8025 GB, free: 40.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007258/0.9856, allocations: 370.2 kB / 0.8028 GB, free: 40.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.591e-05/0.9857, allocations: 6.703 kB / 0.8029 GB, free: 40.35 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00076/0.9865, allocations: 336.9 kB / 0.8032 GB, free: 40.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=68): time 3.727e-06/0.9865, allocations: 0 / 0.8032 GB, free: 40.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68): time 0.00184/0.9883, allocations: 0.7658 MB / 0.8039 GB, free: 39.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.9884, allocations: 167.8 kB / 0.8041 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008726/0.9893, allocations: 0.5932 MB / 0.8047 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.9894, allocations: 43.11 kB / 0.8047 GB, free: 39.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.9897, allocations: 415.1 kB / 0.8051 GB, free: 39.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.9899, allocations: 234 kB / 0.8053 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.9901, allocations: 115.9 kB / 0.8054 GB, free: 38.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.9902, allocations: 387.1 kB / 0.8058 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.9907, allocations: 225.8 kB / 0.806 GB, free: 38.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.9914, allocations: 338.2 kB / 0.8063 GB, free: 38.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.9925, allocations: 0.4978 MB / 0.8068 GB, free: 37.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.9925, allocations: 0 / 0.8068 GB, free: 37.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001488/0.994, allocations: 0.6534 MB / 0.8075 GB, free: 37.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.994, allocations: 4.812 kB / 0.8075 GB, free: 37.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.9941, allocations: 1.281 kB / 0.8075 GB, free: 37.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/0.9941, allocations: 4 kB / 0.8075 GB, free: 37.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006199/0.9947, allocations: 141.8 kB / 0.8076 GB, free: 37.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.9947, allocations: 6.5 kB / 0.8076 GB, free: 37.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.9952, allocations: 95.42 kB / 0.8077 GB, free: 37.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/0.9953, allocations: 20.41 kB / 0.8077 GB, free: 37.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005938/0.9959, allocations: 336.8 kB / 0.808 GB, free: 37.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004031/0.9963, allocations: 282.5 kB / 0.8083 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006841/0.997, allocations: 425.7 kB / 0.8087 GB, free: 37.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.997, allocations: 0 / 0.8087 GB, free: 37.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.0009798/0.998, allocations: 0.5564 MB / 0.8093 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.998, allocations: 8.719 kB / 0.8093 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.998, allocations: 1.031 kB / 0.8093 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.998, allocations: 7.688 kB / 0.8093 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.9986, allocations: 122 kB / 0.8094 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.629e-06/0.9986, allocations: 4.109 kB / 0.8094 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.999, allocations: 81.44 kB / 0.8095 GB, free: 36.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.999, allocations: 17.94 kB / 0.8095 GB, free: 36.77 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0002928/0.9993, allocations: 222.7 kB / 0.8097 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.9995, allocations: 75.67 kB / 0.8098 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.9997, allocations: 80.59 kB / 0.8099 GB, free: 36.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.9997, allocations: 3.094 kB / 0.8099 GB, free: 36.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.9997, allocations: 2.047 kB / 0.8099 GB, free: 36.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.9999, allocations: 156.5 kB / 0.81 GB, free: 36.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.41e-05/1, allocations: 17.17 kB / 0.81 GB, free: 36.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/1, allocations: 43.05 kB / 0.8101 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/1, allocations: 37.98 kB / 0.8101 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001728/1.002, allocations: 0.7124 MB / 0.8108 GB, free: 35.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001959/1.004, allocations: 1.079 MB / 0.8119 GB, free: 35.44 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005688/1.005, allocations: 276.9 kB / 0.8121 GB, free: 35.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006012/1.005, allocations: 424.9 kB / 0.8125 GB, free: 35.15 MB / 0.6544 GB Notification: Performance of Backend: time 1.122e-06/1.005, allocations: 1.438 kB / 0.8125 GB, free: 35.15 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001933/1.007, allocations: 0.7036 MB / 0.8132 GB, free: 34.89 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002906/1.01, allocations: 1.848 MB / 0.815 GB, free: 33.67 MB / 0.6544 GB Notification: Performance of Templates: time 0.03295/1.043, allocations: 9.647 MB / 0.8244 GB, free: 33.18 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)