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.001626/0.001626, allocations: 108 kB / 15.6 MB, free: 132 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.001669/0.001669, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.55/1.55, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.775/1.775, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001419/0.001419, allocations: 72.92 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2183, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002527/0.2209, allocations: 0.7674 MB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.2226, allocations: 1.142 MB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.2227, allocations: 0 / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.2228, allocations: 7.922 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.975e-05/0.2228, allocations: 11.88 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.2234, allocations: 131.6 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.2236, allocations: 123.8 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.2237, allocations: 15.98 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2238, allocations: 43.91 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.527e-05/0.2239, allocations: 47.81 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.2239, allocations: 12 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.224, allocations: 23.98 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.2241, allocations: 11.92 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.554e-05/0.2242, allocations: 43.8 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.2244, allocations: 116 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2244, allocations: 0 / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2244, allocations: 0 / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2244, allocations: 0 / 0.7859 GB, free: 10.87 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.0006612/0.2251, allocations: 412.9 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.2251, allocations: 8.031 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.2252, allocations: 38.75 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.2252, allocations: 8.844 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.2254, allocations: 172.3 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.2254, allocations: 4.375 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.2254, allocations: 12.31 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.2256, allocations: 66.22 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2257, allocations: 3.938 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.2257, allocations: 7.938 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2257, allocations: 0 / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.2259, allocations: 39.95 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.2264, allocations: 336.7 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.2266, allocations: 62.55 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.2268, allocations: 32.95 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.2268, allocations: 0 / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.227, allocations: 91.36 kB / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.2271, allocations: 0 / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004373/0.2275, allocations: 141.5 kB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.2275, allocations: 51.41 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.2276, allocations: 125.8 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2277, allocations: 25.7 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.2277, allocations: 104.1 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.2278, allocations: 15.8 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.2279, allocations: 37.7 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.228, allocations: 326.8 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.2282, allocations: 51.97 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.2283, allocations: 87.88 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.2286, allocations: 137.9 kB / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2286, allocations: 4 kB / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004289/0.2291, allocations: 207.1 kB / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.2291, allocations: 41.69 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2291, allocations: 0 / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.2292, allocations: 0 / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.2293, allocations: 15.92 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.2293, allocations: 7.938 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.2295, allocations: 40.02 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.2295, allocations: 8 kB / 0.7885 GB, free: 7.914 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.0001031/0.2297, allocations: 124.5 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.2297, allocations: 7.906 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.2297, allocations: 8.375 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2297, allocations: 7.984 kB / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2297, allocations: 4 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2297, allocations: 0 / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.2302, allocations: 370.4 kB / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2302, allocations: 4.062 kB / 0.789 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.2303, allocations: 11.98 kB / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2303, allocations: 0 / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.2303, allocations: 0 / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2303, allocations: 4 kB / 0.789 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2303, allocations: 4.375 kB / 0.789 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.2306, allocations: 219.3 kB / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.2307, allocations: 88.98 kB / 0.7893 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.2307, allocations: 4 kB / 0.7893 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.2308, allocations: 11.98 kB / 0.7894 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.2309, allocations: 7.938 kB / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.2309, allocations: 4 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.087e-05/0.2309, allocations: 91.27 kB / 0.7895 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2309, allocations: 0 / 0.7895 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002702/0.2312, allocations: 24 kB / 0.7895 GB, free: 6.84 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.0006507/0.2319, allocations: 0.7591 MB / 0.7902 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004548/0.2323, allocations: 175.3 kB / 0.7904 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2324, allocations: 0 / 0.7904 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.2325, allocations: 43.95 kB / 0.7904 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.2328, allocations: 20.19 kB / 0.7904 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.235, allocations: 1.679 MB / 0.7921 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.2354, allocations: 0.6924 MB / 0.7928 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.942e-05/0.2354, allocations: 4 kB / 0.7928 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.2355, allocations: 23.42 kB / 0.7928 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of SimCode: time 1.383e-06/0.2355, allocations: 0 / 0.7928 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.2574, allocations: 2.511 MB / 0.7952 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.21, allocations: 0 / 0.7952 GB, free: 0.8398 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)