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.0011/0.0011, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.396/1.396, allocations: 205.1 MB / 222 MB, free: 4.961 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.622/1.622, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.002139/0.002139, allocations: 72.11 kB / 0.6709 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.239, allocations: 114.6 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001873/0.2409, allocations: 0.8252 MB / 0.7836 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2422, allocations: 1.153 MB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.2422, allocations: 4 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.2423, allocations: 7.922 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.696e-05/0.2423, allocations: 7.922 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.2427, allocations: 118.5 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2428, allocations: 107.8 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.597e-05/0.2429, allocations: 19.97 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.6e-05/0.243, allocations: 43.89 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.2431, allocations: 35.89 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.2431, allocations: 4 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.415e-05/0.2432, allocations: 19.98 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.2432, allocations: 15.92 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.2433, allocations: 35.84 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.2434, allocations: 104 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2434, allocations: 0 / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.91e-07/0.2434, allocations: 0 / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.2434, allocations: 4 kB / 0.7852 GB, free: 11.37 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.0005412/0.244, allocations: 420.9 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.244, allocations: 8.031 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.2441, allocations: 38.69 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.2441, allocations: 12.84 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.2442, allocations: 176.2 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2442, allocations: 384 / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.2443, allocations: 8.375 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.2445, allocations: 70.2 kB / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2445, allocations: 7.938 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2445, allocations: 0 / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2445, allocations: 0 / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.2447, allocations: 47.89 kB / 0.786 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.2451, allocations: 328.7 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.2453, allocations: 54.55 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.2454, allocations: 41.02 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.2455, allocations: 3.938 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.2457, allocations: 87.36 kB / 0.7865 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.2457, allocations: 0 / 0.7865 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004091/0.2461, allocations: 137.6 kB / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.2461, allocations: 59.41 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.2462, allocations: 117.8 kB / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.2463, allocations: 37.64 kB / 0.7868 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.2463, allocations: 92.05 kB / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.2463, allocations: 15.81 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.2464, allocations: 41.69 kB / 0.787 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2465, allocations: 318.8 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.2467, allocations: 51.95 kB / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.2469, allocations: 92.19 kB / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.2471, allocations: 137.9 kB / 0.7875 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2471, allocations: 4 kB / 0.7875 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004243/0.2476, allocations: 211.1 kB / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.2476, allocations: 37.69 kB / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2476, allocations: 4 kB / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.2476, allocations: 0 / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.2477, allocations: 20.05 kB / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2477, allocations: 448 / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.2479, allocations: 35.91 kB / 0.7878 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.248, allocations: 11.98 kB / 0.7879 GB, free: 8.406 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 8.42e-05/0.2481, allocations: 129.7 kB / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.2481, allocations: 7.906 kB / 0.788 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.2481, allocations: 8.375 kB / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2481, allocations: 0 / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2481, allocations: 7.984 kB / 0.788 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2481, allocations: 4 kB / 0.788 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.2486, allocations: 378.3 kB / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2486, allocations: 0 / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.2486, allocations: 7.984 kB / 0.7884 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2487, allocations: 0 / 0.7884 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.2487, allocations: 8 kB / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2487, allocations: 0 / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2487, allocations: 0 / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.249, allocations: 211.3 kB / 0.7886 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.249, allocations: 85.02 kB / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.249, allocations: 3.984 kB / 0.7887 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.2491, allocations: 11.98 kB / 0.7887 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.2492, allocations: 11.88 kB / 0.7887 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.2492, allocations: 8 kB / 0.7887 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.262e-05/0.2492, allocations: 91.81 kB / 0.7888 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2492, allocations: 3.938 kB / 0.7888 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000247/0.2495, allocations: 20 kB / 0.7888 GB, free: 7.328 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.0005338/0.25, allocations: 0.7475 MB / 0.7895 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.2504, allocations: 175.3 kB / 0.7897 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2504, allocations: 0 / 0.7897 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.2505, allocations: 44.16 kB / 0.7897 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.2508, allocations: 16.27 kB / 0.7898 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.2526, allocations: 1.698 MB / 0.7914 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.2528, allocations: 0.6962 MB / 0.7921 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.2528, allocations: 4 kB / 0.7921 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.2529, allocations: 23.42 kB / 0.7921 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2529, allocations: 0 / 0.7921 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/0.2646, allocations: 2.293 MB / 0.7944 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/0.2648, allocations: 195.9 kB / 0.7946 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/1.919, allocations: 0 / 0.7946 GB, free: 1.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --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)