Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.001086/0.001086, allocations: 86.56 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.00144/0.00144, 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.398/1.398, allocations: 223.3 MB / 240 MB, free: 5.379 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.498/2.498, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005373/0.0005377, allocations: 8.219 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.723, allocations: 142.3 MB / 0.9539 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0008482/0.7239, allocations: 422.1 kB / 0.9543 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.7255, allocations: 1.24 MB / 0.9555 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.7256, allocations: 0 / 0.9555 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.7256, allocations: 3.938 kB / 0.9555 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.868e-05/0.7257, allocations: 14.66 kB / 0.9555 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009118/0.7266, allocations: 281.4 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.7269, allocations: 199.9 kB / 0.956 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.727, allocations: 18.06 kB / 0.956 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.7273, allocations: 87.02 kB / 0.9561 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.7274, allocations: 67.31 kB / 0.9561 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.317e-05/0.7275, allocations: 12.12 kB / 0.9561 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.7276, allocations: 26.61 kB / 0.9562 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.7276, allocations: 12.66 kB / 0.9562 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.7277, allocations: 49.64 kB / 0.9562 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.7279, allocations: 148.8 kB / 0.9564 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.7279, allocations: 1.062 kB / 0.9564 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7279, allocations: 0 / 0.9564 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.7279, allocations: 4 kB / 0.9564 GB, free: 6.242 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.0005492/0.7285, allocations: 452.2 kB / 0.9568 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.7285, allocations: 9.031 kB / 0.9568 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.7286, allocations: 36.55 kB / 0.9568 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.161e-05/0.7287, allocations: 17.83 kB / 0.9569 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.7288, allocations: 173.5 kB / 0.957 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.7288, allocations: 7.031 kB / 0.957 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.7289, allocations: 20.95 kB / 0.9571 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.729, allocations: 58.8 kB / 0.9571 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.729, allocations: 0 / 0.9571 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.729, allocations: 1.094 kB / 0.9571 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.729, allocations: 1.156 kB / 0.9571 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.7291, allocations: 29.92 kB / 0.9571 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.7297, allocations: 416.2 kB / 0.9575 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.609e-05/0.7298, allocations: 38.66 kB / 0.9576 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.7298, allocations: 17.36 kB / 0.9576 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.7298, allocations: 96 / 0.9576 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.73, allocations: 113.4 kB / 0.9577 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.73, allocations: 0 / 0.9577 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003198/0.7303, allocations: 137.2 kB / 0.9578 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.7304, allocations: 53.38 kB / 0.9579 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.7305, allocations: 139 kB / 0.958 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.7306, allocations: 35.7 kB / 0.958 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.7306, allocations: 95.55 kB / 0.9581 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.7307, allocations: 19 kB / 0.9582 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.7307, allocations: 13.11 kB / 0.9582 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.7308, allocations: 317.4 kB / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.731, allocations: 89.78 kB / 0.9586 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.7312, allocations: 138.2 kB / 0.9587 GB, free: 4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.7314, allocations: 167 kB / 0.9589 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7314, allocations: 1.75 kB / 0.9589 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000585/0.732, allocations: 376.8 kB / 0.9592 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.232e-05/0.7321, allocations: 100.1 kB / 0.9593 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7321, allocations: 1.375 kB / 0.9593 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.7321, allocations: 2.75 kB / 0.9593 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.746e-05/0.7321, allocations: 10.73 kB / 0.9593 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.7321, allocations: 6.688 kB / 0.9593 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.7327, allocations: 121.9 kB / 0.9594 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.7328, allocations: 21.03 kB / 0.9595 GB, free: 3.449 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001195/0.7329, allocations: 125.6 kB / 0.9596 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.7329, allocations: 12.3 kB / 0.9596 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.7329, allocations: 9.969 kB / 0.9596 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.733, allocations: 1.75 kB / 0.9596 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.733, allocations: 0 / 0.9596 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.733, allocations: 4 kB / 0.9596 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.7331, allocations: 189.4 kB / 0.9598 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7331, allocations: 1.625 kB / 0.9598 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.416e-05/0.7331, allocations: 5.281 kB / 0.9598 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.7332, allocations: 1.219 kB / 0.9598 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.7332, allocations: 17.06 kB / 0.9598 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.7332, allocations: 5.281 kB / 0.9598 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7332, allocations: 0 / 0.9598 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.7334, allocations: 134.5 kB / 0.9599 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.7334, allocations: 83.23 kB / 0.96 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.7335, allocations: 5.047 kB / 0.96 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.573e-05/0.7335, allocations: 4.953 kB / 0.96 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.7335, allocations: 12.33 kB / 0.96 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.7336, allocations: 4.375 kB / 0.9601 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.983e-05/0.7336, allocations: 100.7 kB / 0.9601 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7336, allocations: 0 / 0.9601 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002971/0.7339, allocations: 38.69 kB / 0.9602 GB, free: 2.766 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005006/0.7344, allocations: 0.6787 MB / 0.9608 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005492/0.735, allocations: 362.7 kB / 0.9612 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.735, allocations: 0 / 0.9612 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.188e-05/0.7351, allocations: 35.17 kB / 0.9612 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.7354, allocations: 31.55 kB / 0.9613 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.7371, allocations: 0.9099 MB / 0.9621 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.7373, allocations: 0.701 MB / 0.9628 GB, free: 420 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.909e-05/0.7374, allocations: 6.125 kB / 0.9628 GB, free: 420 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.7374, allocations: 28.52 kB / 0.9629 GB, free: 396 kB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.7374, allocations: 0 / 0.9629 GB, free: 396 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.7525, allocations: 3.451 MB / 0.9662 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.7527, allocations: 192.6 kB / 0.9664 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.557, allocations: 0 / 0.9664 GB, free: 14.46 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat does not exist to compare? outputFormat=mat