Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Logical.Validation.Change,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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.469/1.469, allocations: 252 MB / 267 MB, free: 10.95 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.0009846/0.0009846, allocations: 179.9 kB / 326.6 MB, free: 2.207 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.624/1.624, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0007086/0.0007086, allocations: 93.06 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 16.34 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2237, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001769/0.2256, allocations: 1.179 MB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004766/0.2261, allocations: 216.3 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.2261, allocations: 3.938 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.2262, allocations: 0 / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.32e-05/0.2263, allocations: 7.922 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.2265, allocations: 23.92 kB / 0.9017 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.918e-05/0.2266, allocations: 51.84 kB / 0.9018 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.2267, allocations: 11.98 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/0.2268, allocations: 23.92 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.2269, allocations: 19.91 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.2269, allocations: 7.938 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.2269, allocations: 4 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.227, allocations: 11.92 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.227, allocations: 33.7 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.022e-05/0.2271, allocations: 31.92 kB / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2271, allocations: 3.938 kB / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.572e-06/0.2271, allocations: 0 / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.2271, allocations: 4 kB / 0.9019 GB, free: 62.12 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000605/0.2278, allocations: 379.4 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2278, allocations: 8.031 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.2279, allocations: 34.56 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.2279, allocations: 7.891 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.652e-05/0.228, allocations: 182.9 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.228, allocations: 4 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.228, allocations: 8 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.2282, allocations: 65.66 kB / 0.9026 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.2282, allocations: 4 kB / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2283, allocations: 7.984 kB / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2283, allocations: 0 / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.2285, allocations: 59.89 kB / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.2289, allocations: 300.7 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.2293, allocations: 122.5 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.802e-05/0.2294, allocations: 40.91 kB / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.2294, allocations: 3.984 kB / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.2297, allocations: 83.38 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.2297, allocations: 0 / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005579/0.2303, allocations: 145.6 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.2304, allocations: 63.3 kB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.178e-05/0.2305, allocations: 114 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.2305, allocations: 29.7 kB / 0.9035 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.2306, allocations: 92.12 kB / 0.9036 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.2306, allocations: 15.75 kB / 0.9036 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.2306, allocations: 4 kB / 0.9036 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.191e-05/0.2307, allocations: 319.2 kB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.2309, allocations: 35.91 kB / 0.9039 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.2311, allocations: 63.34 kB / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.2313, allocations: 35.98 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2313, allocations: 0 / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00038/0.2317, allocations: 129.5 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2317, allocations: 8 kB / 0.9042 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2317, allocations: 0 / 0.9042 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2318, allocations: 0 / 0.9042 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.2319, allocations: 15.98 kB / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.2319, allocations: 7.953 kB / 0.9042 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.232, allocations: 20.02 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.2321, allocations: 4.062 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.148e-05/0.2322, allocations: 117.8 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.2322, allocations: 11.91 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/0.2322, allocations: 12.38 kB / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2322, allocations: 0 / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2323, allocations: 3.984 kB / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2323, allocations: 3.953 kB / 0.9044 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.2329, allocations: 366.5 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.2329, allocations: 0 / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.255e-05/0.233, allocations: 19.92 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.233, allocations: 4 kB / 0.9047 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.233, allocations: 0 / 0.9047 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.233, allocations: 3.953 kB / 0.9047 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2331, allocations: 4 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.2333, allocations: 211.4 kB / 0.9049 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.2334, allocations: 81.02 kB / 0.905 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.2334, allocations: 7.984 kB / 0.905 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.2336, allocations: 11.98 kB / 0.905 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.2337, allocations: 11.94 kB / 0.905 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.2337, allocations: 8 kB / 0.905 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.781e-05/0.2337, allocations: 99.39 kB / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2338, allocations: 288 / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003888/0.2342, allocations: 11.94 kB / 0.9052 GB, free: 58.45 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: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006846/0.2348, allocations: 0.7436 MB / 0.9059 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003754/0.2352, allocations: 79.89 kB / 0.906 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2353, allocations: 8.125 kB / 0.906 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.2354, allocations: 44.45 kB / 0.906 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.2359, allocations: 23.28 kB / 0.906 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.2372, allocations: 0.5597 MB / 0.9066 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.2374, allocations: 0.6887 MB / 0.9073 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.898e-05/0.2375, allocations: 11.84 kB / 0.9073 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.2375, allocations: 15.44 kB / 0.9073 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.2375, allocations: 4 kB / 0.9073 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.2545, allocations: 1.646 MB / 0.9089 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.2548, allocations: 200 kB / 0.9091 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/1.956, allocations: 0 / 0.9091 GB, free: 54.43 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)