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.001043/0.001043, 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.001301/0.001302, 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.378/1.378, allocations: 223.3 MB / 240 MB, free: 5.453 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.395/2.395, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003192, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6949/0.6953, allocations: 142.3 MB / 0.9539 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.0007779/0.6961, allocations: 0.5316 MB / 0.9544 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.6977, allocations: 1.46 MB / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.6978, allocations: 1.219 kB / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.736e-05/0.6979, allocations: 13.02 kB / 0.9558 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.725e-05/0.698, allocations: 27 kB / 0.9558 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.6994, allocations: 480.8 kB / 0.9563 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005213/0.6999, allocations: 382.1 kB / 0.9567 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.7, allocations: 34.2 kB / 0.9567 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.7003, allocations: 152.5 kB / 0.9568 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.7004, allocations: 130.4 kB / 0.957 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.33e-05/0.7005, allocations: 21.62 kB / 0.957 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.7007, allocations: 32.64 kB / 0.957 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.7007, allocations: 45.19 kB / 0.9571 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.785e-05/0.7008, allocations: 63.61 kB / 0.9571 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.7011, allocations: 283 kB / 0.9574 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.7011, allocations: 3.984 kB / 0.9574 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7011, allocations: 0 / 0.9574 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.7011, allocations: 0 / 0.9574 GB, free: 5.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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005459/0.7017, allocations: 0.5769 MB / 0.958 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.7017, allocations: 9.031 kB / 0.958 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.7017, allocations: 51.88 kB / 0.958 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.639e-05/0.7018, allocations: 31.5 kB / 0.958 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.7021, allocations: 255 kB / 0.9583 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.7021, allocations: 20.94 kB / 0.9583 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.917e-05/0.7022, allocations: 32.73 kB / 0.9583 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.7025, allocations: 149.7 kB / 0.9585 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.7025, allocations: 3.938 kB / 0.9585 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.7025, allocations: 5.375 kB / 0.9585 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.7025, allocations: 6.703 kB / 0.9585 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.7027, allocations: 79.95 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/0.7034, allocations: 0.7099 MB / 0.9593 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.7036, allocations: 177.8 kB / 0.9594 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.259e-05/0.7037, allocations: 45.73 kB / 0.9595 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.7037, allocations: 2.094 kB / 0.9595 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.7039, allocations: 155 kB / 0.9596 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.873e-06/0.7039, allocations: 4.188 kB / 0.9596 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.000464/0.7044, allocations: 241.2 kB / 0.9599 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.7045, allocations: 58.64 kB / 0.9599 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.7046, allocations: 177.7 kB / 0.9601 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.7047, allocations: 38.86 kB / 0.9601 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.7048, allocations: 131.2 kB / 0.9603 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.7048, allocations: 39.84 kB / 0.9603 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.7048, allocations: 12.25 kB / 0.9603 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.7049, allocations: 326.9 kB / 0.9606 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.7052, allocations: 161 kB / 0.9608 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.7055, allocations: 236.6 kB / 0.961 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.7058, allocations: 289.8 kB / 0.9613 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.7058, allocations: 1.312 kB / 0.9613 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009462/0.7068, allocations: 0.6217 MB / 0.9619 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.48e-05/0.7069, allocations: 159.8 kB / 0.962 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.7069, allocations: 7.547 kB / 0.962 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.7069, allocations: 8.812 kB / 0.962 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.705e-05/0.7069, allocations: 12.91 kB / 0.9621 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.707, allocations: 7.766 kB / 0.9621 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008235/0.7078, allocations: 192.7 kB / 0.9622 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/0.7079, allocations: 38.81 kB / 0.9623 GB, free: 1.543 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.000144/0.708, allocations: 154 kB / 0.9624 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.7081, allocations: 15.5 kB / 0.9624 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.7081, allocations: 21.77 kB / 0.9625 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.7081, allocations: 13.42 kB / 0.9625 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7081, allocations: 0 / 0.9625 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.7081, allocations: 0.7188 kB / 0.9625 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.7086, allocations: 0.5063 MB / 0.963 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.7086, allocations: 0 / 0.963 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.246e-05/0.7086, allocations: 11.25 kB / 0.963 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.7087, allocations: 5.922 kB / 0.963 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.7087, allocations: 6.156 kB / 0.963 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.7087, allocations: 0.9688 kB / 0.963 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7087, allocations: 4 kB / 0.963 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.709, allocations: 284.7 kB / 0.9633 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.709, allocations: 88.77 kB / 0.9634 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.709, allocations: 6.453 kB / 0.9634 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.57e-05/0.7091, allocations: 9.141 kB / 0.9634 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.7092, allocations: 20.09 kB / 0.9634 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.7092, allocations: 10.53 kB / 0.9634 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.03e-05/0.7093, allocations: 122 kB / 0.9635 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7093, allocations: 3.938 kB / 0.9635 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004005/0.7097, allocations: 85.92 kB / 0.9636 GB, free: 488 kB / 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.0005611/0.7102, allocations: 0.8229 MB / 0.9644 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008698/0.7111, allocations: 0.6178 MB / 0.965 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7111, allocations: 0 / 0.965 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.7113, allocations: 79.53 kB / 0.9651 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.7117, allocations: 52.42 kB / 0.9651 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.7151, allocations: 1.474 MB / 0.9666 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.7156, allocations: 0.7288 MB / 0.9673 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.7158, allocations: 24.05 kB / 0.9673 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.7159, allocations: 57.94 kB / 0.9674 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of SimCode: time 8.71e-07/0.7159, allocations: 0 / 0.9674 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.7375, allocations: 5.871 MB / 0.9731 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.7377, allocations: 187.4 kB / 0.9733 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.668, allocations: 0 / 0.9733 GB, free: 10.3 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