Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.277/2.277, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001348/0.001348, allocations: 193 kB / 498.1 MB, free: 5.672 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.444/1.444, allocations: 223.2 MB / 0.7948 GB, free: 17.84 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.0009399/0.0009398, allocations: 98.94 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 8.531 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2939, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1948/0.4888, allocations: 149.6 MB / 1.369 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.4891, allocations: 75.95 kB / 1.369 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006631/0.4958, allocations: 2.116 MB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4958, allocations: 0 / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.4958, allocations: 0 / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005595/0.4964, allocations: 416.7 kB / 1.372 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4965, allocations: 16.03 kB / 1.372 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.4965, allocations: 30.56 kB / 1.372 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.4966, allocations: 19.78 kB / 1.372 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.4967, allocations: 167.1 kB / 1.372 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.4967, allocations: 8 kB / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.4968, allocations: 8 kB / 1.372 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.497, allocations: 69.66 kB / 1.372 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.497, allocations: 0 / 1.372 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.497, allocations: 4 kB / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.497, allocations: 0 / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.4973, allocations: 59.89 kB / 1.372 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.4978, allocations: 336.7 kB / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.498, allocations: 70.53 kB / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.498, allocations: 0 / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002879/0.4983, allocations: 99.45 kB / 1.372 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.4983, allocations: 4 kB / 1.372 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0004727/0.4988, allocations: 157.6 kB / 1.373 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.4989, allocations: 59.33 kB / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.499, allocations: 112.9 kB / 1.373 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.499, allocations: 29.7 kB / 1.373 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.4991, allocations: 92.14 kB / 1.373 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.4991, allocations: 15.78 kB / 1.373 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.4991, allocations: 12 kB / 1.373 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4993, allocations: 314.8 kB / 1.373 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.4994, allocations: 59.95 kB / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.4996, allocations: 92.56 kB / 1.373 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.4998, allocations: 85.67 kB / 1.373 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4998, allocations: 0 / 1.373 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000477/0.5003, allocations: 219.1 kB / 1.374 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.5004, allocations: 41.62 kB / 1.374 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5004, allocations: 0 / 1.374 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5004, allocations: 0 / 1.374 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.5005, allocations: 20.11 kB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.5006, allocations: 7.891 kB / 1.374 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.5008, allocations: 51.89 kB / 1.374 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.5008, allocations: 8 kB / 1.374 GB, free: 7.195 MB / 0.8698 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,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.5009, allocations: 121.8 kB / 1.374 GB, free: 7.066 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.501, allocations: 7.969 kB / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.501, allocations: 12.38 kB / 1.374 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.501, allocations: 3.984 kB / 1.374 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.501, allocations: 0 / 1.374 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.501, allocations: 3.953 kB / 1.374 GB, free: 7.039 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.5015, allocations: 390.5 kB / 1.374 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5015, allocations: 0 / 1.374 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-05/0.5016, allocations: 8 kB / 1.374 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5016, allocations: 0 / 1.374 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.5016, allocations: 7.984 kB / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5016, allocations: 7.953 kB / 1.374 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5017, allocations: 0 / 1.374 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.502, allocations: 219.3 kB / 1.375 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.502, allocations: 85.02 kB / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.5021, allocations: 0 / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.5022, allocations: 11.98 kB / 1.375 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.5022, allocations: 11.94 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.5023, allocations: 4 kB / 1.375 GB, free: 6.219 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.911e-05/0.5023, allocations: 95.31 kB / 1.375 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5023, allocations: 0 / 1.375 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000273/0.5026, allocations: 27.94 kB / 1.375 GB, free: 6.098 MB / 0.8698 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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 (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.0006878/0.5033, allocations: 0.7745 MB / 1.376 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004035/0.5037, allocations: 183.3 kB / 1.376 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5037, allocations: 0 / 1.376 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.5039, allocations: 48.77 kB / 1.376 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.5041, allocations: 22.55 kB / 1.376 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008918/0.505, allocations: 1.003 MB / 1.377 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.5053, allocations: 0.6965 MB / 1.377 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.362e-05/0.5053, allocations: 11.77 kB / 1.377 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.5054, allocations: 19.44 kB / 1.377 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of SimCode: time 2.61e-07/0.5054, allocations: 0 / 1.377 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.5197, allocations: 2.175 MB / 1.38 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/0.52, allocations: 200.6 kB / 1.38 GB, free: 0.9258 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.269, allocations: 0 / 1.38 GB, free: 0.9258 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat does not exist to compare? outputFormat=mat