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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00084/0.0008406, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001489/0.001489, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.4 MB / 0.6655 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.772/0.7724, allocations: 142.3 MB / 0.9539 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.0008654/0.7733, allocations: 468.8 kB / 0.9543 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.7747, allocations: 1.116 MB / 0.9554 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.016e-05/0.7748, allocations: 5.281 kB / 0.9554 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.7749, allocations: 0 / 0.9554 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.012e-05/0.7749, allocations: 13.45 kB / 0.9554 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.7755, allocations: 117.8 kB / 0.9555 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.7756, allocations: 93.28 kB / 0.9556 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.7757, allocations: 13.48 kB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.7759, allocations: 36.44 kB / 0.9557 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.778e-05/0.7759, allocations: 37.7 kB / 0.9557 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.776, allocations: 8.781 kB / 0.9557 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.249e-05/0.7761, allocations: 28.06 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.7761, allocations: 10.58 kB / 0.9558 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.7761, allocations: 36.27 kB / 0.9558 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.7763, allocations: 74.48 kB / 0.9559 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7763, allocations: 0 / 0.9559 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7763, allocations: 0 / 0.9559 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.7763, allocations: 1.094 kB / 0.9559 GB, free: 6.586 MB / 0.7169 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.0004849/0.7768, allocations: 402.1 kB / 0.9562 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.7768, allocations: 9.25 kB / 0.9563 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.7769, allocations: 36.55 kB / 0.9563 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.7769, allocations: 13.55 kB / 0.9563 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/0.777, allocations: 173.6 kB / 0.9565 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.7771, allocations: 4.188 kB / 0.9565 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.7771, allocations: 10.34 kB / 0.9565 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.7773, allocations: 71.84 kB / 0.9566 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.7773, allocations: 0 / 0.9566 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.7773, allocations: 1.281 kB / 0.9566 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.7773, allocations: 0 / 0.9566 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.7775, allocations: 57.31 kB / 0.9566 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.778, allocations: 339.5 kB / 0.9569 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.7781, allocations: 59.98 kB / 0.957 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.876e-05/0.7782, allocations: 41.31 kB / 0.957 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.789e-06/0.7783, allocations: 1.344 kB / 0.957 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.7785, allocations: 100.4 kB / 0.9571 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.7785, allocations: 0 / 0.9571 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004371/0.7789, allocations: 157.5 kB / 0.9573 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.779, allocations: 57.81 kB / 0.9573 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.7791, allocations: 119.2 kB / 0.9574 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.7791, allocations: 32.39 kB / 0.9575 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.7792, allocations: 91.69 kB / 0.9576 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.7792, allocations: 23.38 kB / 0.9576 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.7792, allocations: 1.312 kB / 0.9576 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.7792, allocations: 321.3 kB / 0.9579 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.7794, allocations: 56 kB / 0.9579 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.7796, allocations: 91.08 kB / 0.958 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.7797, allocations: 88.33 kB / 0.9581 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.7797, allocations: 1.812 kB / 0.9581 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004135/0.7802, allocations: 217.6 kB / 0.9583 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.7802, allocations: 37.52 kB / 0.9584 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.7802, allocations: 5.453 kB / 0.9584 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.7802, allocations: 9.328 kB / 0.9584 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.353e-05/0.7803, allocations: 10.72 kB / 0.9584 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.7804, allocations: 5.656 kB / 0.9584 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.7806, allocations: 52.05 kB / 0.9584 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.7806, allocations: 9.484 kB / 0.9584 GB, free: 4.246 MB / 0.7169 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 () * 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 8.209e-05/0.7807, allocations: 121.1 kB / 0.9586 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.7807, allocations: 11.44 kB / 0.9586 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.7808, allocations: 14.16 kB / 0.9586 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.7808, allocations: 5.766 kB / 0.9586 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7808, allocations: 3.938 kB / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7808, allocations: 0 / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.7812, allocations: 385.1 kB / 0.959 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.7812, allocations: 0 / 0.959 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.576e-05/0.7813, allocations: 16.17 kB / 0.959 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.7813, allocations: 3.953 kB / 0.959 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.7813, allocations: 1.375 kB / 0.959 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.7813, allocations: 1.375 kB / 0.959 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.7813, allocations: 0 / 0.959 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.7816, allocations: 218.6 kB / 0.9592 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.7816, allocations: 90.31 kB / 0.9593 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.7817, allocations: 5.328 kB / 0.9593 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.7817, allocations: 6.875 kB / 0.9593 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.7818, allocations: 14.61 kB / 0.9593 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.7818, allocations: 6.672 kB / 0.9593 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.7818, allocations: 91.86 kB / 0.9594 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7819, allocations: 0 / 0.9594 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002744/0.7821, allocations: 19.22 kB / 0.9594 GB, free: 3.344 MB / 0.7169 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 (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.000518/0.7827, allocations: 0.7645 MB / 0.9602 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003755/0.783, allocations: 184.8 kB / 0.9603 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7831, allocations: 0 / 0.9603 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.7832, allocations: 44.14 kB / 0.9604 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.7835, allocations: 18.59 kB / 0.9604 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.7846, allocations: 0.6744 MB / 0.9611 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.7848, allocations: 0.6977 MB / 0.9617 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.771e-05/0.7848, allocations: 6.531 kB / 0.9617 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.7849, allocations: 23.55 kB / 0.9618 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7849, allocations: 0 / 0.9618 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.7983, allocations: 2.205 MB / 0.9639 GB, free: 168 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.7985, allocations: 195.2 kB / 0.9641 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.559, allocations: 0 / 0.9641 GB, free: 15.92 MB / 0.7325 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