Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.Integers.Validation.Equal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 101.7 kB / 16.27 MB, free: 6.418 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.001329/0.001329, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.643/1.643, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.861/1.861, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001467/0.001468, allocations: 75.89 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2597, allocations: 114.5 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003667/0.2634, allocations: 1.997 MB / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.2654, allocations: 1.105 MB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.2655, allocations: 11.94 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004638/0.266, allocations: 159.4 kB / 0.7872 GB, free: 0.5586 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.2664, allocations: 159.3 kB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.2669, allocations: 182.7 kB / 0.7876 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.4285/0.6955, allocations: 308 kB / 0.7878 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.6958, allocations: 51.61 kB / 0.7879 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.6961, allocations: 143.1 kB / 0.788 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.6963, allocations: 147.9 kB / 0.7882 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.6964, allocations: 13.69 kB / 0.7882 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.6965, allocations: 56.05 kB / 0.7882 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.6967, allocations: 91.89 kB / 0.7883 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.6968, allocations: 122.4 kB / 0.7884 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.6971, allocations: 359.3 kB / 0.7888 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.6972, allocations: 1.5 kB / 0.7888 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6972, allocations: 0 / 0.7888 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.6972, allocations: 2.531 kB / 0.7888 GB, free: 46.07 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008799/0.6981, allocations: 0.6216 MB / 0.7894 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.6981, allocations: 10.5 kB / 0.7894 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.262e-05/0.6982, allocations: 36.22 kB / 0.7894 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.6986, allocations: 372.9 kB / 0.7898 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.6987, allocations: 7.312 kB / 0.7898 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.6987, allocations: 7.688 kB / 0.7898 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.6989, allocations: 119.5 kB / 0.7899 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.6989, allocations: 0 / 0.7899 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.6989, allocations: 5.859 kB / 0.7899 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.699, allocations: 2.625 kB / 0.7899 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.6991, allocations: 58.25 kB / 0.79 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006673/0.6998, allocations: 498.3 kB / 0.7905 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.7001, allocations: 132.9 kB / 0.7906 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.7002, allocations: 48.27 kB / 0.7906 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.7003, allocations: 9.531 kB / 0.7906 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.7005, allocations: 104.5 kB / 0.7907 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.7005, allocations: 0.9688 kB / 0.7907 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0004789/0.701, allocations: 229.2 kB / 0.791 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.701, allocations: 55.62 kB / 0.791 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004454/0.7015, allocations: 0.5122 MB / 0.7915 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.7015, allocations: 28.33 kB / 0.7915 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.7016, allocations: 167.4 kB / 0.7917 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.7016, allocations: 42.67 kB / 0.7917 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/0.7017, allocations: 68.77 kB / 0.7918 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.7018, allocations: 347.6 kB / 0.7921 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.702, allocations: 102.5 kB / 0.7922 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.7022, allocations: 131.6 kB / 0.7924 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.7025, allocations: 177.6 kB / 0.7925 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7025, allocations: 0.625 kB / 0.7925 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004619/0.7029, allocations: 327.4 kB / 0.7929 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.703, allocations: 4.406 kB / 0.7929 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.703, allocations: 0 / 0.7929 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.703, allocations: 5.281 kB / 0.7929 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.7032, allocations: 54.69 kB / 0.7929 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.7032, allocations: 7.344 kB / 0.7929 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.7034, allocations: 18.02 kB / 0.7929 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.7034, allocations: 13.91 kB / 0.7929 GB, free: 44.11 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001502/0.7036, allocations: 184.1 kB / 0.7931 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.7036, allocations: 30.41 kB / 0.7932 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.915e-05/0.7037, allocations: 35.19 kB / 0.7932 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.7037, allocations: 1 kB / 0.7932 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.7037, allocations: 3.938 kB / 0.7932 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.7037, allocations: 5.891 kB / 0.7932 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.7039, allocations: 294.7 kB / 0.7935 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7039, allocations: 1.969 kB / 0.7935 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.169e-05/0.704, allocations: 14.08 kB / 0.7935 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.704, allocations: 1 kB / 0.7935 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.704, allocations: 7.828 kB / 0.7935 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.704, allocations: 1.219 kB / 0.7935 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.704, allocations: 3.938 kB / 0.7935 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.7044, allocations: 219 kB / 0.7937 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.7044, allocations: 114.5 kB / 0.7938 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.7045, allocations: 3.188 kB / 0.7938 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/0.7046, allocations: 6.844 kB / 0.7938 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.7047, allocations: 21.19 kB / 0.7939 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.7047, allocations: 9.672 kB / 0.7939 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002669/0.7049, allocations: 314.9 kB / 0.7942 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.705, allocations: 2.812 kB / 0.7942 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002861/0.7052, allocations: 51.84 kB / 0.7942 GB, free: 43.49 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009439/0.7062, allocations: 427.5 kB / 0.7946 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.7066, allocations: 201 kB / 0.7948 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7066, allocations: 0 / 0.7948 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.7067, allocations: 60.09 kB / 0.7949 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.7072, allocations: 84.67 kB / 0.795 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007557/0.708, allocations: 0.5676 MB / 0.7955 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.7082, allocations: 0.7865 MB / 0.7963 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.948e-05/0.7083, allocations: 31.86 kB / 0.7963 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.7083, allocations: 3.438 kB / 0.7963 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.007697/0.716, allocations: 4.391 MB / 0.8006 GB, free: 42.06 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1)