Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 188 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 75.38 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2458, allocations: 114.6 MB / 0.7837 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002257/0.2481, allocations: 0.7592 MB / 0.7844 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2496, allocations: 1.146 MB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.2497, allocations: 4 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.2497, allocations: 3.938 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.633e-05/0.2498, allocations: 11.86 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.2503, allocations: 134.4 kB / 0.7857 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.2505, allocations: 119.8 kB / 0.7858 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2506, allocations: 15.98 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.475e-05/0.2507, allocations: 47.89 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.2508, allocations: 47.81 kB / 0.7859 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.2508, allocations: 8 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.488e-05/0.2509, allocations: 31.98 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.251, allocations: 15.91 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.251, allocations: 43.86 kB / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.2512, allocations: 112 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2512, allocations: 0 / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2512, allocations: 0 / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2512, allocations: 0 / 0.7861 GB, free: 10.76 MB / 0.6075 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.0005972/0.2518, allocations: 412.9 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2519, allocations: 8.031 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.2519, allocations: 38.69 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.252, allocations: 8.844 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2521, allocations: 176.3 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.2521, allocations: 8.359 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.2522, allocations: 8.375 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.2524, allocations: 66.22 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.2524, allocations: 7.875 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.2524, allocations: 3.938 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2524, allocations: 0 / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.2526, allocations: 39.95 kB / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.2531, allocations: 332.7 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.2532, allocations: 62.55 kB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.2534, allocations: 32.95 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.2534, allocations: 4 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.2536, allocations: 91.34 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.2536, allocations: 0 / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004513/0.2541, allocations: 145.5 kB / 0.7875 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.2541, allocations: 55.41 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/0.2542, allocations: 121.8 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.2543, allocations: 29.7 kB / 0.7877 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.2544, allocations: 92.05 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.2544, allocations: 15.81 kB / 0.7878 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.2545, allocations: 37.69 kB / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2546, allocations: 318.8 kB / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.2547, allocations: 55.95 kB / 0.7882 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.2549, allocations: 88.25 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.2552, allocations: 145.8 kB / 0.7884 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2552, allocations: 0 / 0.7884 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004174/0.2556, allocations: 211.1 kB / 0.7886 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.2557, allocations: 37.69 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2557, allocations: 4 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2557, allocations: 128 / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.195e-05/0.2558, allocations: 20.05 kB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2558, allocations: 7.938 kB / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.256, allocations: 31.91 kB / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.2561, allocations: 11.98 kB / 0.7887 GB, free: 7.797 MB / 0.6075 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.2562, allocations: 121.8 kB / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.2562, allocations: 7.906 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.2562, allocations: 12.38 kB / 0.7888 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.2562, allocations: 4 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2563, allocations: 0 / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2563, allocations: 0 / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.2567, allocations: 378.4 kB / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2567, allocations: 0 / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.2568, allocations: 7.984 kB / 0.7892 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.2568, allocations: 11.98 kB / 0.7892 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.2568, allocations: 4 kB / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2568, allocations: 0 / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2568, allocations: 0 / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.2571, allocations: 215.2 kB / 0.7894 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.2572, allocations: 81.02 kB / 0.7895 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.2572, allocations: 7.984 kB / 0.7895 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.2573, allocations: 8 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.2574, allocations: 11.92 kB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.2574, allocations: 4 kB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.2574, allocations: 91.81 kB / 0.7896 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2574, allocations: 0 / 0.7896 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002655/0.2577, allocations: 24 kB / 0.7896 GB, free: 6.727 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006782/0.2584, allocations: 0.7599 MB / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003943/0.2588, allocations: 179.3 kB / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2588, allocations: 0 / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.2589, allocations: 40.23 kB / 0.7906 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.2592, allocations: 15.86 kB / 0.7906 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.2616, allocations: 1.688 MB / 0.7923 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.2619, allocations: 0.6923 MB / 0.7929 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.787e-05/0.2619, allocations: 11.98 kB / 0.7929 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/0.262, allocations: 19.44 kB / 0.793 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.262, allocations: 0 / 0.793 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.2804, allocations: 2.516 MB / 0.7954 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/7.906, allocations: 10.91 kB / 0.7954 GB, free: 0.7188 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)