Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.325/2.325, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001423/0.001423, allocations: 184.9 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.755/2.755, allocations: 205.4 MB / 0.5772 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009425/0.0009424, allocations: 88.19 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004952, allocations: 17.16 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002671/0.2161, allocations: 1.621 MB / 0.9011 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2181, allocations: 0.8512 MB / 0.9019 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.2183, allocations: 4 kB / 0.9019 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.2187, allocations: 87.7 kB / 0.902 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.2191, allocations: 75.72 kB / 0.9021 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.2195, allocations: 105 kB / 0.9022 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.2198, allocations: 183.5 kB / 0.9024 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.22, allocations: 41.84 kB / 0.9024 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.2202, allocations: 75.64 kB / 0.9025 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.2204, allocations: 83.58 kB / 0.9026 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.2204, allocations: 8 kB / 0.9026 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.2206, allocations: 24 kB / 0.9026 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.918e-05/0.2207, allocations: 43.83 kB / 0.9026 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.13e-05/0.2208, allocations: 57.58 kB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.221, allocations: 191.8 kB / 0.9029 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2211, allocations: 4 kB / 0.9029 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.255e-06/0.2211, allocations: 0 / 0.9029 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2211, allocations: 4 kB / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001009/0.2221, allocations: 0.5024 MB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.2222, allocations: 12.02 kB / 0.9034 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.2223, allocations: 24.66 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.2226, allocations: 267.2 kB / 0.9037 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.2227, allocations: 15.94 kB / 0.9037 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.2227, allocations: 12 kB / 0.9037 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.2232, allocations: 143.3 kB / 0.9038 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2232, allocations: 0 / 0.9038 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.2232, allocations: 0 / 0.9038 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2233, allocations: 7.938 kB / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.2237, allocations: 103.9 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009448/0.2247, allocations: 0.5319 MB / 0.9044 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.2252, allocations: 134.6 kB / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.2255, allocations: 64.77 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.2255, allocations: 0 / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004453/0.226, allocations: 141.3 kB / 0.9048 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 2.875e-06/0.226, allocations: 0 / 0.9048 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.001016/0.227, allocations: 261.2 kB / 0.905 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.2271, allocations: 51.41 kB / 0.9051 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004449/0.2275, allocations: 326.4 kB / 0.9054 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.2276, allocations: 33.7 kB / 0.9054 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.608e-05/0.2277, allocations: 132.6 kB / 0.9055 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.2278, allocations: 43.44 kB / 0.9056 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/0.2278, allocations: 8 kB / 0.9056 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.393e-05/0.2279, allocations: 334.8 kB / 0.9059 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.2282, allocations: 91.95 kB / 0.906 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.2286, allocations: 141.9 kB / 0.9061 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.229, allocations: 96.72 kB / 0.9062 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.229, allocations: 0 / 0.9062 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008622/0.2299, allocations: 299.9 kB / 0.9065 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.2299, allocations: 13.5 kB / 0.9065 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.23, allocations: 0 / 0.9065 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.23, allocations: 4 kB / 0.9065 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.2304, allocations: 52.09 kB / 0.9066 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.2304, allocations: 3.938 kB / 0.9066 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.2307, allocations: 35.83 kB / 0.9066 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.2307, allocations: 8 kB / 0.9066 GB, free: 57.98 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,cha.u_start) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.2309, allocations: 159.5 kB / 0.9068 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.231, allocations: 35.64 kB / 0.9068 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.557e-05/0.2311, allocations: 26.19 kB / 0.9068 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2311, allocations: 0 / 0.9068 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2311, allocations: 4 kB / 0.9068 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.2312, allocations: 104.8 kB / 0.9069 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.2312, allocations: 7.938 kB / 0.9069 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.2314, allocations: 19.97 kB / 0.907 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.2315, allocations: 15.98 kB / 0.907 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007901/0.2323, allocations: 281.8 kB / 0.9072 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007234/0.2331, allocations: 376.1 kB / 0.9076 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002811/0.2334, allocations: 79.94 kB / 0.9077 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002709/0.2337, allocations: 200.5 kB / 0.9079 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of Backend: time 1.222e-06/0.2337, allocations: 0 / 0.9079 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002131/0.2358, allocations: 0.5286 MB / 0.9084 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001179/0.2371, allocations: 0.8687 MB / 0.9092 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.008769/0.2459, allocations: 2.678 MB / 0.9118 GB, free: 52.7 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)