Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.381/1.381, allocations: 252 MB / 267 MB, free: 10.98 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.0009859/0.0009858, allocations: 176.4 kB / 326.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.4 MB / 0.5777 GB, free: 20.54 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.0007771/0.0007769, allocations: 91.12 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003568, allocations: 13.03 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2189, allocations: 106.3 MB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002076/0.221, allocations: 1.668 MB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.2223, allocations: 0.9095 MB / 0.9028 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.572e-05/0.2224, allocations: 0 / 0.9028 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.2227, allocations: 155.6 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.223, allocations: 123.5 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.2233, allocations: 140.5 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.2235, allocations: 255.2 kB / 0.9035 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2236, allocations: 44.38 kB / 0.9035 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.2238, allocations: 115.5 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.2239, allocations: 115.5 kB / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.224, allocations: 4 kB / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.467e-05/0.224, allocations: 31.98 kB / 0.9038 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.299e-05/0.2241, allocations: 75.73 kB / 0.9039 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.2242, allocations: 73.5 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.2244, allocations: 263.6 kB / 0.9042 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2244, allocations: 0 / 0.9042 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2244, allocations: 0 / 0.9042 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2244, allocations: 0 / 0.9042 GB, free: 60.35 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006318/0.2251, allocations: 0.5486 MB / 0.9047 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2251, allocations: 11.97 kB / 0.9047 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.2251, allocations: 46.48 kB / 0.9048 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.2252, allocations: 43.53 kB / 0.9048 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.2255, allocations: 333.4 kB / 0.9051 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.2256, allocations: 8 kB / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.2256, allocations: 12 kB / 0.9051 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.2258, allocations: 105.5 kB / 0.9052 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2258, allocations: 0 / 0.9052 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.2259, allocations: 11.95 kB / 0.9053 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2259, allocations: 0 / 0.9053 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.226, allocations: 63.89 kB / 0.9053 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.2266, allocations: 488.5 kB / 0.9058 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.2269, allocations: 134.7 kB / 0.9059 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/0.227, allocations: 44.83 kB / 0.906 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.227, allocations: 4 kB / 0.906 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.2273, allocations: 111.5 kB / 0.9061 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.2273, allocations: 0 / 0.9061 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004511/0.2277, allocations: 225.1 kB / 0.9063 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.2278, allocations: 55.41 kB / 0.9063 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.2281, allocations: 497.5 kB / 0.9068 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2282, allocations: 29.7 kB / 0.9068 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.2283, allocations: 168.3 kB / 0.907 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.2283, allocations: 35.55 kB / 0.907 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.2283, allocations: 11.98 kB / 0.907 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.2284, allocations: 342.8 kB / 0.9074 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.2285, allocations: 100.5 kB / 0.9075 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.2287, allocations: 123.6 kB / 0.9076 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.2289, allocations: 115.9 kB / 0.9077 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2289, allocations: 3.953 kB / 0.9077 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004051/0.2293, allocations: 313.7 kB / 0.908 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2293, allocations: 8.062 kB / 0.908 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2293, allocations: 4 kB / 0.908 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2294, allocations: 7.984 kB / 0.908 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.2296, allocations: 47.91 kB / 0.9081 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2296, allocations: 4 kB / 0.9081 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.2297, allocations: 15.91 kB / 0.9081 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.2297, allocations: 11.98 kB / 0.9081 GB, free: 56.1 MB / 0.6042 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 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.2299, allocations: 177.8 kB / 0.9083 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.2299, allocations: 39.58 kB / 0.9083 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.23, allocations: 31.02 kB / 0.9083 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.23, allocations: 7.938 kB / 0.9083 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.23, allocations: 0 / 0.9083 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.23, allocations: 0 / 0.9083 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.2302, allocations: 305.3 kB / 0.9086 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2302, allocations: 4 kB / 0.9086 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.2303, allocations: 11.95 kB / 0.9086 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2303, allocations: 0 / 0.9086 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.2303, allocations: 11.98 kB / 0.9087 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2303, allocations: 0 / 0.9087 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2303, allocations: 4 kB / 0.9087 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.2306, allocations: 206 kB / 0.9089 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.2307, allocations: 112.7 kB / 0.909 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.2307, allocations: 7.938 kB / 0.909 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-05/0.2308, allocations: 8 kB / 0.909 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.2309, allocations: 23.91 kB / 0.909 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2309, allocations: 8 kB / 0.909 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002368/0.2312, allocations: 303.1 kB / 0.9093 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2312, allocations: 0 / 0.9093 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002379/0.2314, allocations: 56 kB / 0.9093 GB, free: 54.72 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001193/0.2326, allocations: 1.058 MB / 0.9104 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.233, allocations: 183.8 kB / 0.9106 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.233, allocations: 0 / 0.9106 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.2331, allocations: 63.91 kB / 0.9106 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.2335, allocations: 87.22 kB / 0.9107 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.236, allocations: 2.003 MB / 0.9127 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.2362, allocations: 0.7831 MB / 0.9134 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.2363, allocations: 50.94 kB / 0.9135 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.2364, allocations: 103.4 kB / 0.9136 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2365, allocations: 4 kB / 0.9136 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.2536, allocations: 6.681 MB / 0.9201 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.2538, allocations: 231.4 kB / 0.9203 GB, free: 43.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.463, allocations: 0 / 0.9203 GB, free: 43.65 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1)