Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_9_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 387.1 MB / 399.7 MB, free: 9.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 180.9 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 221.3 MB / 0.7871 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 98.19 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.263e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3107, allocations: 142.4 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.355, allocations: 149.6 MB / 1.359 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.356, allocations: 71.94 kB / 1.359 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006594/1.362, allocations: 2.095 MB / 1.361 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.654e-06/1.362, allocations: 0 / 1.361 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.205e-06/1.362, allocations: 3.844 kB / 1.361 GB, free: 34.64 MB / 0.8386 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.0004091/1.363, allocations: 401 kB / 1.361 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.363, allocations: 15.28 kB / 1.361 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/1.363, allocations: 36.05 kB / 1.361 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/1.363, allocations: 3.875 kB / 1.361 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/1.363, allocations: 182.9 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/1.363, allocations: 3.875 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/1.363, allocations: 7.656 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/1.363, allocations: 56.3 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/1.363, allocations: 3.984 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/1.363, allocations: 1.828 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/1.363, allocations: 0 / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.592e-05/1.363, allocations: 15.06 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/1.364, allocations: 339.9 kB / 1.362 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.843e-05/1.364, allocations: 42.12 kB / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/1.364, allocations: 25.33 kB / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/1.364, allocations: 3.875 kB / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/1.364, allocations: 73.61 kB / 1.362 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/1.364, allocations: 0 / 1.362 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001994/1.364, allocations: 82.92 kB / 1.362 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/1.364, allocations: 67.48 kB / 1.362 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.05e-05/1.364, allocations: 107.2 kB / 1.362 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/1.364, allocations: 29.02 kB / 1.362 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/1.365, allocations: 94.89 kB / 1.362 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/1.365, allocations: 19.66 kB / 1.362 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/1.365, allocations: 0 / 1.362 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/1.365, allocations: 320.1 kB / 1.363 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/1.365, allocations: 38.34 kB / 1.363 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.712e-05/1.365, allocations: 75.83 kB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.424e-05/1.365, allocations: 78.53 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.365, allocations: 0 / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000263/1.365, allocations: 181.1 kB / 1.363 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/1.365, allocations: 40.27 kB / 1.363 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.365, allocations: 0 / 1.363 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.365, allocations: 3.719 kB / 1.363 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/1.365, allocations: 14.45 kB / 1.363 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.365, allocations: 5.203 kB / 1.363 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/1.366, allocations: 51.83 kB / 1.363 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/1.366, allocations: 8.484 kB / 1.363 GB, free: 32.77 MB / 0.8386 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.768e-05/1.366, allocations: 113.7 kB / 1.363 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/1.366, allocations: 7.781 kB / 1.363 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/1.366, allocations: 15.75 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/1.366, allocations: 5.547 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/1.366, allocations: 0.875 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.366, allocations: 0 / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/1.366, allocations: 347.8 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.366, allocations: 1.547 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/1.366, allocations: 13.44 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.366, allocations: 1.641 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/1.366, allocations: 11.91 kB / 1.364 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/1.366, allocations: 0 / 1.364 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.366, allocations: 3.953 kB / 1.364 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/1.367, allocations: 187.6 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/1.367, allocations: 84.89 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/1.367, allocations: 1.5 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/1.367, allocations: 9.344 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/1.367, allocations: 14.28 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/1.367, allocations: 5.359 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.917e-05/1.367, allocations: 92.8 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.367, allocations: 0 / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002407/1.367, allocations: 34.88 kB / 1.364 GB, free: 32 MB / 0.8386 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) * 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 (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.0004267/1.368, allocations: 0.726 MB / 1.365 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002072/1.368, allocations: 156 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.368, allocations: 0 / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.045e-05/1.368, allocations: 31.59 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/1.368, allocations: 5.891 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/1.368, allocations: 142 kB / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/1.369, allocations: 0.6972 MB / 1.366 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.345e-05/1.369, allocations: 12.95 kB / 1.366 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/1.369, allocations: 20.08 kB / 1.366 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.369, allocations: 0 / 1.366 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/1.382, allocations: 2.184 MB / 1.368 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/1.382, allocations: 155 kB / 1.368 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.893, allocations: 0 / 1.368 GB, free: 29.98 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat does not exist to compare? outputFormat=mat