Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.Not,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not",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.0008636/0.0008637, allocations: 86.25 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.0009544/0.0009545, 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.447/1.447, allocations: 223.3 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.422/2.422, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003704, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8311/0.8315, allocations: 142.3 MB / 0.9539 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.0008546/0.8324, allocations: 346 kB / 0.9542 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.8337, allocations: 1.076 MB / 0.9553 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.8338, allocations: 0 / 0.9553 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.8338, allocations: 0 / 0.9553 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.316e-05/0.8339, allocations: 13.44 kB / 0.9553 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.8343, allocations: 111.3 kB / 0.9554 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.234e-05/0.8344, allocations: 63.48 kB / 0.9554 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.8345, allocations: 2.406 kB / 0.9554 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.346e-05/0.8345, allocations: 32.34 kB / 0.9555 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.155e-05/0.8346, allocations: 26.61 kB / 0.9555 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.8346, allocations: 8.344 kB / 0.9555 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.403e-05/0.8347, allocations: 18.17 kB / 0.9555 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.8347, allocations: 6.281 kB / 0.9555 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.8348, allocations: 31.36 kB / 0.9556 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.785e-05/0.8349, allocations: 60.45 kB / 0.9556 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8349, allocations: 1.031 kB / 0.9556 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8349, allocations: 0 / 0.9556 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.8349, allocations: 0 / 0.9556 GB, free: 6.777 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003436/0.8353, allocations: 362 kB / 0.956 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.8353, allocations: 9.406 kB / 0.956 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.56e-05/0.8353, allocations: 31.66 kB / 0.956 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.8354, allocations: 11.45 kB / 0.956 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.243e-05/0.8355, allocations: 169.2 kB / 0.9562 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.8355, allocations: 6.75 kB / 0.9562 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.8355, allocations: 8.281 kB / 0.9562 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.8356, allocations: 38.78 kB / 0.9562 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/0.8356, allocations: 0 / 0.9562 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.8356, allocations: 1.312 kB / 0.9562 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8356, allocations: 0 / 0.9562 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/0.8357, allocations: 12.45 kB / 0.9562 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.836, allocations: 292.1 kB / 0.9565 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.261e-05/0.8361, allocations: 25.58 kB / 0.9565 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.8361, allocations: 7.141 kB / 0.9565 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.8361, allocations: 0 / 0.9565 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.8362, allocations: 62.34 kB / 0.9566 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.8362, allocations: 0 / 0.9566 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001692/0.8364, allocations: 63.16 kB / 0.9567 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.8364, allocations: 55.41 kB / 0.9567 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.798e-05/0.8365, allocations: 109 kB / 0.9568 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.8365, allocations: 27.17 kB / 0.9568 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.8366, allocations: 90.95 kB / 0.9569 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.8366, allocations: 1.438 kB / 0.9569 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/0.8366, allocations: 5.344 kB / 0.9569 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.269e-05/0.8367, allocations: 320.3 kB / 0.9572 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.8367, allocations: 26.77 kB / 0.9573 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.8368, allocations: 51.56 kB / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.772e-05/0.8369, allocations: 52.97 kB / 0.9574 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.8369, allocations: 0.8125 kB / 0.9574 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002069/0.8371, allocations: 144.9 kB / 0.9575 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.8371, allocations: 41.47 kB / 0.9575 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.8371, allocations: 5.453 kB / 0.9576 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.8372, allocations: 0 / 0.9576 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.704e-05/0.8372, allocations: 9.469 kB / 0.9576 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.8372, allocations: 1.406 kB / 0.9576 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.8374, allocations: 36.31 kB / 0.9576 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.8374, allocations: 8.922 kB / 0.9576 GB, free: 4.727 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 6.749e-05/0.8375, allocations: 123.3 kB / 0.9577 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.687e-06/0.8375, allocations: 1.609 kB / 0.9577 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.8376, allocations: 7.484 kB / 0.9577 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8376, allocations: 5.453 kB / 0.9577 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.8376, allocations: 0 / 0.9577 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.8376, allocations: 0 / 0.9577 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.035e-05/0.8377, allocations: 159.9 kB / 0.9579 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8377, allocations: 3.938 kB / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-06/0.8377, allocations: 0.875 kB / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8377, allocations: 1.156 kB / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.8377, allocations: 0 / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8377, allocations: 5.25 kB / 0.9579 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.8377, allocations: 3.953 kB / 0.9579 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.25e-05/0.8378, allocations: 81.62 kB / 0.958 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.8378, allocations: 82.59 kB / 0.9581 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.8378, allocations: 1.281 kB / 0.9581 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.216e-05/0.8379, allocations: 0 / 0.9581 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.8379, allocations: 9.453 kB / 0.9581 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.8379, allocations: 1.438 kB / 0.9581 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.507e-05/0.8379, allocations: 87.48 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8379, allocations: 0 / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002026/0.8381, allocations: 14.78 kB / 0.9582 GB, free: 4.105 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002819/0.8384, allocations: 0.6224 MB / 0.9588 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.8386, allocations: 116.9 kB / 0.9589 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8386, allocations: 0 / 0.9589 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.956e-05/0.8387, allocations: 15.92 kB / 0.9589 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.8389, allocations: 12.08 kB / 0.9589 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.8396, allocations: 497.8 kB / 0.9594 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.8397, allocations: 0.6785 MB / 0.9601 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.819e-05/0.8397, allocations: 1.812 kB / 0.9601 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.8398, allocations: 13.22 kB / 0.9601 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.8398, allocations: 0 / 0.9601 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/0.8514, allocations: 1.668 MB / 0.9617 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/0.8516, allocations: 191 kB / 0.9619 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.558, allocations: 0 / 0.9619 GB, free: 1.191 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat does not exist to compare? outputFormat=mat