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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000831/0.0008311, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001047/0.001047, allocations: 172.7 kB / 15.95 MB, free: 208 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.459/1.459, allocations: 223.2 MB / 240 MB, free: 5.406 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.463/2.463, allocations: 390.4 MB / 0.6655 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.000405, allocations: 8 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.772/0.7724, allocations: 142.3 MB / 0.9539 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0009119/0.7734, allocations: 474.2 kB / 0.9543 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.7749, allocations: 1.12 MB / 0.9554 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.7749, allocations: 0.7812 kB / 0.9554 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.775, allocations: 1.031 kB / 0.9554 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.374e-05/0.7751, allocations: 8.797 kB / 0.9554 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.7756, allocations: 122.8 kB / 0.9555 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.7757, allocations: 97.12 kB / 0.9556 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.7758, allocations: 18.55 kB / 0.9556 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.776, allocations: 39.52 kB / 0.9557 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.7761, allocations: 34.14 kB / 0.9557 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.7761, allocations: 5.156 kB / 0.9557 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.58e-05/0.7762, allocations: 27.86 kB / 0.9557 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.7762, allocations: 10.45 kB / 0.9558 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.7763, allocations: 38.33 kB / 0.9558 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.7764, allocations: 73.3 kB / 0.9559 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7764, allocations: 0 / 0.9559 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.306e-06/0.7764, allocations: 3.984 kB / 0.9559 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.7764, allocations: 1.531 kB / 0.9559 GB, free: 6.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005471/0.777, allocations: 402.8 kB / 0.9563 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.777, allocations: 8.906 kB / 0.9563 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.7771, allocations: 36.66 kB / 0.9563 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.7772, allocations: 13.17 kB / 0.9563 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.7773, allocations: 171.3 kB / 0.9565 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.7773, allocations: 2.625 kB / 0.9565 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.7773, allocations: 14.48 kB / 0.9565 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.7776, allocations: 69.06 kB / 0.9566 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.7776, allocations: 4.812 kB / 0.9566 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.7776, allocations: 9.109 kB / 0.9566 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.7776, allocations: 5.016 kB / 0.9566 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.7778, allocations: 53.42 kB / 0.9566 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.7783, allocations: 338.3 kB / 0.9569 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.7785, allocations: 67.36 kB / 0.957 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.948e-05/0.7786, allocations: 36.31 kB / 0.957 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.7786, allocations: 1.188 kB / 0.957 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.7789, allocations: 104.6 kB / 0.9571 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.7789, allocations: 0 / 0.9571 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004354/0.7793, allocations: 157.4 kB / 0.9573 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.7794, allocations: 56.58 kB / 0.9573 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/0.7794, allocations: 120.3 kB / 0.9575 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.7795, allocations: 32.33 kB / 0.9575 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.7795, allocations: 91.84 kB / 0.9576 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.7795, allocations: 23.3 kB / 0.9576 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.7796, allocations: 1.188 kB / 0.9576 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.251e-05/0.7796, allocations: 325.6 kB / 0.9579 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.7798, allocations: 51.62 kB / 0.958 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.7799, allocations: 93.09 kB / 0.9581 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.7801, allocations: 86.27 kB / 0.9581 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7801, allocations: 1.969 kB / 0.9581 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004096/0.7805, allocations: 217.8 kB / 0.9583 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.7806, allocations: 36.19 kB / 0.9584 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7806, allocations: 1.688 kB / 0.9584 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.7806, allocations: 1.5 kB / 0.9584 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.7807, allocations: 22.36 kB / 0.9584 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.7807, allocations: 7.75 kB / 0.9584 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.7809, allocations: 47.39 kB / 0.9585 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.781, allocations: 5.531 kB / 0.9585 GB, free: 4.176 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,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 8.588e-05/0.7811, allocations: 130.8 kB / 0.9586 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.7811, allocations: 7.531 kB / 0.9586 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.7811, allocations: 14.11 kB / 0.9586 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.7811, allocations: 1.844 kB / 0.9586 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7811, allocations: 0 / 0.9586 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7811, allocations: 0 / 0.9586 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.7815, allocations: 394 kB / 0.959 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7816, allocations: 8.016 kB / 0.959 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.199e-05/0.7816, allocations: 12.23 kB / 0.959 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7816, allocations: 0 / 0.959 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.7816, allocations: 1.375 kB / 0.959 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7816, allocations: 0 / 0.959 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7816, allocations: 5.375 kB / 0.959 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.7819, allocations: 217.1 kB / 0.9592 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.7819, allocations: 83.81 kB / 0.9593 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.782, allocations: 13.3 kB / 0.9593 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.7821, allocations: 9.438 kB / 0.9593 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.7821, allocations: 12.11 kB / 0.9593 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.7821, allocations: 2.75 kB / 0.9593 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.456e-05/0.7822, allocations: 90.14 kB / 0.9594 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7822, allocations: 1.375 kB / 0.9594 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00029/0.7825, allocations: 24.22 kB / 0.9594 GB, free: 3.266 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 (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.0005111/0.783, allocations: 0.7642 MB / 0.9602 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.7833, allocations: 188.3 kB / 0.9604 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7834, allocations: 0 / 0.9604 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.7835, allocations: 36.36 kB / 0.9604 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.7838, allocations: 18.89 kB / 0.9604 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.785, allocations: 0.6883 MB / 0.9611 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.7851, allocations: 0.6891 MB / 0.9618 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.656e-05/0.7852, allocations: 15.83 kB / 0.9618 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.7852, allocations: 20.64 kB / 0.9618 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7852, allocations: 0 / 0.9618 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.7997, allocations: 2.228 MB / 0.964 GB, free: 80 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.8, allocations: 197.2 kB / 0.9642 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.556, allocations: 0 / 0.9642 GB, free: 15.84 MB / 0.7325 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