Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.459/1.459, allocations: 288.4 MB / 303.6 MB, free: 8.074 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 189.1 kB / 372.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.4 MB / 0.631 GB, free: 9.863 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006632/0.0006631, allocations: 102.3 kB / 0.7444 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 12.94 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1433, allocations: 115.3 MB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.0006742/0.144, allocations: 474.6 kB / 0.9807 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009275/0.145, allocations: 1.13 MB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.145, allocations: 0 / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.145, allocations: 0 / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.195e-05/0.1451, allocations: 15.91 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.1455, allocations: 114.2 kB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.884e-05/0.1455, allocations: 87.81 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.745e-05/0.1456, allocations: 23.91 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.102e-05/0.1457, allocations: 35.91 kB / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.284e-05/0.1458, allocations: 35.89 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1458, allocations: 4 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.255e-05/0.1458, allocations: 23.98 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.1459, allocations: 11.92 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.1459, allocations: 61.61 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.436e-05/0.146, allocations: 72.09 kB / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.146, allocations: 0 / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.146, allocations: 4 kB / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.146, allocations: 0 / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003731/0.1464, allocations: 397 kB / 0.9826 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.1464, allocations: 12.03 kB / 0.9826 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.376e-05/0.1465, allocations: 42.69 kB / 0.9827 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.1465, allocations: 8.938 kB / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.573e-05/0.1466, allocations: 168.3 kB / 0.9828 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1466, allocations: 8.312 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.1466, allocations: 8.375 kB / 0.9828 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1468, allocations: 66.23 kB / 0.9829 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1468, allocations: 7.938 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1468, allocations: 7.984 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1468, allocations: 0 / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.147, allocations: 51.91 kB / 0.983 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.1473, allocations: 344.6 kB / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.1475, allocations: 58.61 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.1476, allocations: 44.95 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.1476, allocations: 4 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.1478, allocations: 91.3 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.1478, allocations: 0 / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003593/0.1481, allocations: 161.5 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/0.1482, allocations: 51.48 kB / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.316e-05/0.1482, allocations: 117.8 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1483, allocations: 29.7 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.1483, allocations: 100 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.1483, allocations: 15.81 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.1483, allocations: 4 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.488e-05/0.1484, allocations: 322.8 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.1485, allocations: 55.97 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.1487, allocations: 94.5 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.1489, allocations: 153.9 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1489, allocations: 0 / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003595/0.1493, allocations: 219.1 kB / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.1493, allocations: 37.7 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1493, allocations: 0 / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1493, allocations: 4 kB / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.659e-05/0.1494, allocations: 15.92 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1494, allocations: 4 kB / 0.9848 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.1496, allocations: 59.92 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.1497, allocations: 4 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 6.208e-05/0.1497, allocations: 142.7 kB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.1497, allocations: 7.906 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.1498, allocations: 8.375 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1498, allocations: 4 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1498, allocations: 0 / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1498, allocations: 0 / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.1501, allocations: 386.7 kB / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1501, allocations: 4 kB / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.091e-05/0.1502, allocations: 11.98 kB / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1502, allocations: 0 / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1502, allocations: 4 kB / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1502, allocations: 0 / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1502, allocations: 80 / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.1504, allocations: 227.3 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.1505, allocations: 77.11 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.1505, allocations: 4 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.1506, allocations: 15.98 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.1506, allocations: 11.98 kB / 0.9857 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1506, allocations: 11.94 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.592e-05/0.1507, allocations: 95.75 kB / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1507, allocations: 0 / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00022/0.1509, allocations: 31.91 kB / 0.9859 GB, free: 20.99 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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 (8): * Single equations (assignments): 6 * 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.0003834/0.1513, allocations: 0.7476 MB / 0.9866 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002941/0.1516, allocations: 187.3 kB / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1516, allocations: 0 / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.1517, allocations: 51.89 kB / 0.9868 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.1519, allocations: 20.17 kB / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009107/0.1529, allocations: 0.6928 MB / 0.9875 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.644e-05/0.153, allocations: 0.6923 MB / 0.9882 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.713e-05/0.153, allocations: 11.77 kB / 0.9882 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.153, allocations: 19.44 kB / 0.9882 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.153, allocations: 0 / 0.9882 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2481/0.4011, allocations: 2.224 MB / 0.9904 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.4013, allocations: 197.8 kB / 0.9906 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.371/1.773, allocations: 0 / 0.9906 GB, free: 16.15 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)