Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.001093/0.001093, 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.001103/0.001103, allocations: 185.1 kB / 16.62 MB, free: 6.613 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.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.811/1.811, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001394/0.001394, allocations: 73.44 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2375, allocations: 114.6 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00195/0.2395, allocations: 0.7542 MB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2408, allocations: 1.134 MB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.2409, allocations: 8 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.2409, allocations: 7.922 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.88e-05/0.241, allocations: 7.922 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.2415, allocations: 138.9 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.2417, allocations: 115.8 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.2418, allocations: 19.97 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.597e-05/0.2419, allocations: 47.91 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.242, allocations: 43.83 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.242, allocations: 8 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-05/0.2421, allocations: 31.97 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.2421, allocations: 15.92 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.2422, allocations: 47.78 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.2423, allocations: 100 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2424, allocations: 4 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2424, allocations: 0 / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2424, allocations: 0 / 0.7861 GB, free: 10.75 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.0005761/0.243, allocations: 412.9 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.243, allocations: 11.97 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.243, allocations: 42.69 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.2431, allocations: 12.83 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2432, allocations: 176.3 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.2432, allocations: 12.36 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.2433, allocations: 4.375 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.2435, allocations: 70.2 kB / 0.7868 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2435, allocations: 3.938 kB / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2435, allocations: 0 / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2435, allocations: 0 / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.2437, allocations: 51.89 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.2442, allocations: 332.7 kB / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.2444, allocations: 54.61 kB / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2445, allocations: 32.97 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.2445, allocations: 7.938 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.2447, allocations: 87.42 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.2448, allocations: 0 / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004108/0.2452, allocations: 137.5 kB / 0.7875 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.2452, allocations: 63.39 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.2453, allocations: 121.7 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.2454, allocations: 29.7 kB / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2455, allocations: 92.05 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.2455, allocations: 23.78 kB / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.989e-05/0.2456, allocations: 37.7 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2457, allocations: 322.8 kB / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.2459, allocations: 51.97 kB / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.246, allocations: 88.25 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.2463, allocations: 149.8 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2463, allocations: 0 / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004199/0.2467, allocations: 203.1 kB / 0.7886 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.2468, allocations: 37.69 kB / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2468, allocations: 4 kB / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.2468, allocations: 128 / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.2469, allocations: 19.98 kB / 0.7886 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2469, allocations: 4 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.2471, allocations: 35.89 kB / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.2472, allocations: 7.938 kB / 0.7887 GB, free: 7.77 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,edge1.y,edge1.u,$PRE.edge1.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.0001093/0.2473, allocations: 132.6 kB / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.2473, allocations: 11.91 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.2473, allocations: 8.359 kB / 0.7888 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2473, allocations: 0 / 0.7888 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2474, allocations: 4 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2474, allocations: 0 / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.2479, allocations: 378.4 kB / 0.7892 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2479, allocations: 0 / 0.7892 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.248, allocations: 4 kB / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.248, allocations: 8 kB / 0.7892 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.2481, allocations: 3.984 kB / 0.7892 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2481, allocations: 4.062 kB / 0.7892 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2481, allocations: 0 / 0.7892 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.2484, allocations: 207.7 kB / 0.7894 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.2484, allocations: 85.02 kB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.2485, allocations: 4 kB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.2486, allocations: 7.984 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.2486, allocations: 11.88 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.2486, allocations: 11.98 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.492e-05/0.2487, allocations: 87.28 kB / 0.7896 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2487, allocations: 0 / 0.7896 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000264/0.2489, allocations: 23.98 kB / 0.7896 GB, free: 6.699 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0006078/0.2496, allocations: 0.7553 MB / 0.7904 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003724/0.2499, allocations: 175.3 kB / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.25, allocations: 256 / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.2501, allocations: 47.91 kB / 0.7906 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.2504, allocations: 16.86 kB / 0.7906 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.2523, allocations: 1.683 MB / 0.7922 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.2526, allocations: 0.6923 MB / 0.7929 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.501e-05/0.2527, allocations: 11.98 kB / 0.7929 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.2528, allocations: 23.42 kB / 0.793 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.2528, allocations: 3.938 kB / 0.793 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.2719, allocations: 2.512 MB / 0.7954 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/7.825, allocations: 11.22 kB / 0.7954 GB, free: 0.6914 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)