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.001101/0.001101, allocations: 98.83 kB / 16.37 MB, free: 6.465 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.001065/0.001065, allocations: 192.5 kB / 17.31 MB, free: 5.82 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.435/1.435, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.796/1.796, allocations: 292.3 MB / 0.5496 GB, free: 17.35 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.001424/0.001425, allocations: 70.88 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2183, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003263/0.2216, allocations: 1.99 MB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.2234, allocations: 1.109 MB / 0.7878 GB, free: 52 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.2236, allocations: 7.938 kB / 0.7878 GB, free: 44 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.3976/0.6212, allocations: 155.1 kB / 0.788 GB, free: 46.59 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.0005471/0.6218, allocations: 153.2 kB / 0.7881 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.6223, allocations: 190 kB / 0.7883 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.6227, allocations: 314.4 kB / 0.7886 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.6228, allocations: 50.92 kB / 0.7887 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.623, allocations: 144 kB / 0.7888 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.6232, allocations: 144 kB / 0.7889 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.6232, allocations: 16.41 kB / 0.7889 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.6234, allocations: 63.5 kB / 0.789 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.093e-05/0.6234, allocations: 84.12 kB / 0.7891 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.6236, allocations: 123 kB / 0.7892 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.6239, allocations: 372.8 kB / 0.7896 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.6239, allocations: 0 / 0.7896 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6239, allocations: 3.188 kB / 0.7896 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.037e-05/0.624, allocations: 1.219 kB / 0.7896 GB, free: 46.44 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.000873/0.6248, allocations: 0.618 MB / 0.7902 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6249, allocations: 11.16 kB / 0.7902 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.24e-05/0.625, allocations: 36.22 kB / 0.7902 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.6254, allocations: 371.4 kB / 0.7906 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.6254, allocations: 7.312 kB / 0.7906 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.6254, allocations: 6.5 kB / 0.7906 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.6257, allocations: 116 kB / 0.7907 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.6257, allocations: 0 / 0.7907 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.6257, allocations: 6.125 kB / 0.7907 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6257, allocations: 2.656 kB / 0.7907 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.6259, allocations: 58.34 kB / 0.7908 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006385/0.6265, allocations: 496.7 kB / 0.7912 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.6268, allocations: 136.4 kB / 0.7914 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-05/0.6269, allocations: 56.34 kB / 0.7914 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.627, allocations: 6.031 kB / 0.7914 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.6272, allocations: 110.1 kB / 0.7915 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.6272, allocations: 2.688 kB / 0.7915 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0004628/0.6276, allocations: 223.5 kB / 0.7917 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.6277, allocations: 54.03 kB / 0.7918 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.6282, allocations: 0.5117 MB / 0.7923 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.6282, allocations: 38.02 kB / 0.7923 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.6283, allocations: 167.7 kB / 0.7925 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.6283, allocations: 33.53 kB / 0.7925 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.6284, allocations: 68.92 kB / 0.7926 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.6285, allocations: 350.4 kB / 0.7929 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.6287, allocations: 101 kB / 0.793 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.6288, allocations: 131.2 kB / 0.7931 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.6291, allocations: 181.9 kB / 0.7933 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6291, allocations: 0 / 0.7933 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004262/0.6296, allocations: 324.9 kB / 0.7936 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.6296, allocations: 6.812 kB / 0.7936 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6296, allocations: 0 / 0.7936 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.6296, allocations: 3.25 kB / 0.7936 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.6298, allocations: 47.23 kB / 0.7937 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.6298, allocations: 9.969 kB / 0.7937 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.63, allocations: 21.36 kB / 0.7937 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.63, allocations: 14.84 kB / 0.7937 GB, free: 44.48 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.000124/0.6301, allocations: 176.2 kB / 0.7939 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.6302, allocations: 30.62 kB / 0.7939 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.729e-05/0.6302, allocations: 35.53 kB / 0.794 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.6302, allocations: 4.25 kB / 0.794 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6303, allocations: 3.938 kB / 0.794 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6303, allocations: 3.188 kB / 0.794 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.6305, allocations: 293.2 kB / 0.7942 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.6305, allocations: 3.844 kB / 0.7942 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.6305, allocations: 12.69 kB / 0.7943 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6305, allocations: 5.219 kB / 0.7943 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.6306, allocations: 7.25 kB / 0.7943 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6306, allocations: 7.344 kB / 0.7943 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6306, allocations: 4.594 kB / 0.7943 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.6309, allocations: 208 kB / 0.7945 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.6309, allocations: 114.7 kB / 0.7946 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.631, allocations: 8.219 kB / 0.7946 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.713e-05/0.6311, allocations: 6.547 kB / 0.7946 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.6312, allocations: 28.06 kB / 0.7946 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.6312, allocations: 3.469 kB / 0.7946 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002798/0.6315, allocations: 318.2 kB / 0.7949 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6315, allocations: 3.969 kB / 0.7949 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002641/0.6317, allocations: 53.03 kB / 0.795 GB, free: 43.86 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.0008919/0.6326, allocations: 412.2 kB / 0.7954 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.633, allocations: 201.6 kB / 0.7956 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.633, allocations: 0 / 0.7956 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.6331, allocations: 61.33 kB / 0.7956 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.6336, allocations: 94.67 kB / 0.7957 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007136/0.6343, allocations: 0.5537 MB / 0.7963 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.6345, allocations: 0.7948 MB / 0.797 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.6346, allocations: 35.2 kB / 0.7971 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.6346, allocations: 0 / 0.7971 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of Templates: time 0.007721/0.6423, allocations: 4.392 MB / 0.8014 GB, free: 42.45 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)