Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.001269/0.001268, allocations: 96.41 kB / 15.05 MB, free: 1.109 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.001336/0.001336, allocations: 181.3 kB / 15.95 MB, free: 216 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.2 MB / 239.9 MB, free: 5.449 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.426/2.426, allocations: 390.3 MB / 0.6653 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.000378, allocations: 12 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7269/0.7273, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.0009359/0.7283, allocations: 0.5258 MB / 0.9541 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.73, allocations: 1.367 MB / 0.9555 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.255e-05/0.7301, allocations: 1.531 kB / 0.9555 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.317e-05/0.7302, allocations: 11.92 kB / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.337e-05/0.7303, allocations: 38.11 kB / 0.9555 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.7315, allocations: 481.1 kB / 0.956 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.7318, allocations: 238.7 kB / 0.9562 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.732, allocations: 30.77 kB / 0.9562 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.7321, allocations: 157.9 kB / 0.9564 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.7323, allocations: 130.3 kB / 0.9565 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.913e-05/0.7324, allocations: 22.28 kB / 0.9565 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.7325, allocations: 27.34 kB / 0.9565 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.7325, allocations: 37.81 kB / 0.9566 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.563e-05/0.7326, allocations: 66.73 kB / 0.9566 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.733, allocations: 286.8 kB / 0.9569 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.733, allocations: 0 / 0.9569 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.575e-06/0.733, allocations: 1 kB / 0.9569 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.733, allocations: 0 / 0.9569 GB, free: 5.672 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006949/0.7337, allocations: 0.5762 MB / 0.9575 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.7338, allocations: 10.34 kB / 0.9575 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.161e-05/0.7338, allocations: 51.22 kB / 0.9575 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.065e-05/0.7339, allocations: 27.19 kB / 0.9576 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.7342, allocations: 251.4 kB / 0.9578 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.7342, allocations: 20.53 kB / 0.9578 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.7343, allocations: 32.72 kB / 0.9579 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.7346, allocations: 152.3 kB / 0.958 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.7346, allocations: 0 / 0.958 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.7346, allocations: 9.359 kB / 0.958 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.7346, allocations: 7.984 kB / 0.958 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.7348, allocations: 78.77 kB / 0.9581 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007921/0.7356, allocations: 0.7144 MB / 0.9588 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.7358, allocations: 177.9 kB / 0.959 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.7358, allocations: 1.688 kB / 0.959 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.736, allocations: 154.4 kB / 0.9591 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.736, allocations: 0 / 0.9591 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004624/0.7365, allocations: 242.3 kB / 0.9593 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.7365, allocations: 59.39 kB / 0.9594 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.7367, allocations: 180.9 kB / 0.9596 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.7367, allocations: 39.33 kB / 0.9596 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.903e-05/0.7368, allocations: 127.5 kB / 0.9597 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.7369, allocations: 38.47 kB / 0.9598 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.7369, allocations: 12.25 kB / 0.9598 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.188e-05/0.737, allocations: 326.9 kB / 0.9601 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.7372, allocations: 157 kB / 0.9602 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.7375, allocations: 240.7 kB / 0.9605 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.7378, allocations: 287.2 kB / 0.9607 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.7378, allocations: 0.9688 kB / 0.9607 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008469/0.7387, allocations: 0.6202 MB / 0.9614 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.7388, allocations: 164 kB / 0.9615 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.7388, allocations: 3 kB / 0.9615 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.7388, allocations: 8.203 kB / 0.9615 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.201e-05/0.7388, allocations: 17.83 kB / 0.9615 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.7388, allocations: 8.094 kB / 0.9615 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000883/0.7397, allocations: 192.4 kB / 0.9617 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.7399, allocations: 34.69 kB / 0.9618 GB, free: 1.668 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0002433/0.7401, allocations: 159.5 kB / 0.9619 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.7402, allocations: 15.81 kB / 0.9619 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.559e-05/0.7402, allocations: 20.81 kB / 0.9619 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.7403, allocations: 6.234 kB / 0.962 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.7403, allocations: 4 kB / 0.962 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.7403, allocations: 5.172 kB / 0.962 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008128/0.7411, allocations: 0.5137 MB / 0.9625 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7411, allocations: 1.406 kB / 0.9625 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/0.7412, allocations: 10.81 kB / 0.9625 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.7412, allocations: 1.219 kB / 0.9625 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.7412, allocations: 10.44 kB / 0.9625 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7412, allocations: 0 / 0.9625 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7412, allocations: 0.75 kB / 0.9625 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004285/0.7417, allocations: 278.5 kB / 0.9628 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.7417, allocations: 96.89 kB / 0.9628 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.7418, allocations: 2.688 kB / 0.9628 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.7419, allocations: 9.375 kB / 0.9629 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/0.742, allocations: 25.11 kB / 0.9629 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.7421, allocations: 9.781 kB / 0.9629 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001135/0.7422, allocations: 125.3 kB / 0.963 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7422, allocations: 0 / 0.963 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007121/0.7429, allocations: 82.28 kB / 0.9631 GB, free: 0.5898 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009379/0.7439, allocations: 0.8263 MB / 0.9639 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.7451, allocations: 0.6174 MB / 0.9645 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7452, allocations: 128 / 0.9645 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.7454, allocations: 83.09 kB / 0.9646 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.7459, allocations: 35.25 kB / 0.9646 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.7481, allocations: 2.305 MB / 0.9669 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.7485, allocations: 0.7299 MB / 0.9676 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001089/0.7486, allocations: 28.16 kB / 0.9676 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.7487, allocations: 54.8 kB / 0.9677 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/0.7487, allocations: 0 / 0.9677 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.7736, allocations: 5.796 MB / 0.9733 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/0.7739, allocations: 184.3 kB / 0.9735 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.539, allocations: 1.094 kB / 0.9735 GB, free: 9.207 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat does not exist to compare? outputFormat=mat