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.38/1.38, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001187/0.001187, allocations: 181.2 kB / 326.5 MB, free: 2.262 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.133/2.133, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001194/0.001195, allocations: 93.72 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004356, allocations: 8.906 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2616, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001709/0.2633, allocations: 1.17 MB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004462/0.2638, allocations: 222.3 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.111e-05/0.2639, allocations: 0 / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.956e-05/0.2639, allocations: 0 / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.288e-05/0.264, allocations: 11.98 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.2642, allocations: 19.92 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.814e-05/0.2642, allocations: 35.95 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2644, allocations: 15.98 kB / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.2644, allocations: 19.92 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.884e-05/0.2645, allocations: 19.86 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.2645, allocations: 4 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.2645, allocations: 4 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.2645, allocations: 7.984 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.2646, allocations: 29.7 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.948e-05/0.2647, allocations: 43.83 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2647, allocations: 4 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2647, allocations: 0 / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2647, allocations: 0 / 0.9017 GB, free: 62.22 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.0005447/0.2652, allocations: 381 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2653, allocations: 8.031 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.2653, allocations: 38.55 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.2654, allocations: 7.906 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.911e-05/0.2655, allocations: 171 kB / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2655, allocations: 8 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.2655, allocations: 4 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.2657, allocations: 65.66 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2657, allocations: 3.938 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.2657, allocations: 8 kB / 0.9024 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2657, allocations: 0 / 0.9024 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.2659, allocations: 51.95 kB / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.2664, allocations: 320.6 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.2668, allocations: 118.5 kB / 0.9029 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.2668, allocations: 3.984 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.267, allocations: 91.48 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.2671, allocations: 0 / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003851/0.2674, allocations: 141.5 kB / 0.9031 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.2675, allocations: 67.3 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.462e-05/0.2676, allocations: 110 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.2676, allocations: 29.7 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.2676, allocations: 96.19 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.2677, allocations: 19.75 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.2677, allocations: 0 / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.2678, allocations: 318.8 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.42e-05/0.2679, allocations: 31.97 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.943e-05/0.268, allocations: 59.41 kB / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.492e-05/0.2681, allocations: 39.98 kB / 0.9038 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.2681, allocations: 0 / 0.9038 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002305/0.2683, allocations: 129.5 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2683, allocations: 8 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2684, allocations: 0 / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2684, allocations: 0 / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.2684, allocations: 15.98 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.2685, allocations: 7.953 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-05/0.2686, allocations: 27.95 kB / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.2686, allocations: 0 / 0.904 GB, free: 59.64 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 7.563e-05/0.2686, allocations: 121.8 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.2687, allocations: 4.469 kB / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.2687, allocations: 12.38 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2687, allocations: 0 / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2687, allocations: 3.984 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2687, allocations: 3.953 kB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.2691, allocations: 370.5 kB / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2691, allocations: 7.875 kB / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.2692, allocations: 11.98 kB / 0.9045 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2692, allocations: 4 kB / 0.9045 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.2692, allocations: 0 / 0.9045 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2692, allocations: 3.953 kB / 0.9045 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2692, allocations: 4 kB / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.2695, allocations: 207.4 kB / 0.9047 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.2695, allocations: 81.02 kB / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2695, allocations: 4 kB / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.2696, allocations: 11.98 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.2697, allocations: 15.94 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.2697, allocations: 4 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.883e-05/0.2698, allocations: 99.2 kB / 0.9049 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2698, allocations: 0 / 0.9049 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002166/0.27, allocations: 11.94 kB / 0.9049 GB, free: 58.58 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.0004431/0.2704, allocations: 0.7397 MB / 0.9057 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.2707, allocations: 83.94 kB / 0.9057 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2707, allocations: 4.188 kB / 0.9057 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.2708, allocations: 43.91 kB / 0.9058 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.2711, allocations: 15.94 kB / 0.9058 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009838/0.272, allocations: 1.006 MB / 0.9068 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.2722, allocations: 0.6926 MB / 0.9075 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.504e-05/0.2722, allocations: 11.86 kB / 0.9075 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.2723, allocations: 23.42 kB / 0.9075 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of SimCode: time 4.2e-07/0.2723, allocations: 0 / 0.9075 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.2843, allocations: 1.63 MB / 0.9091 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.2845, allocations: 190.9 kB / 0.9093 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/1.819, allocations: 0 / 0.9093 GB, free: 54.13 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)