Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.001167/0.001167, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00149/0.00149, allocations: 177.3 kB / 15.94 MB, free: 228 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.431/1.431, allocations: 223.2 MB / 239.9 MB, free: 5.312 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.578/2.578, allocations: 390.3 MB / 0.6653 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 12 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8041, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.0006937/0.8048, allocations: 413.1 kB / 0.954 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.806, allocations: 1.198 MB / 0.9552 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.806, allocations: 1.219 kB / 0.9552 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.806, allocations: 0 / 0.9552 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.8061, allocations: 19.53 kB / 0.9552 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006859/0.8068, allocations: 270.4 kB / 0.9555 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.807, allocations: 128.6 kB / 0.9556 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.588e-05/0.8071, allocations: 10.84 kB / 0.9556 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.8072, allocations: 88.67 kB / 0.9557 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.8073, allocations: 72.27 kB / 0.9557 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.8073, allocations: 11.84 kB / 0.9558 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.976e-05/0.8074, allocations: 29.77 kB / 0.9558 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.8075, allocations: 9.766 kB / 0.9558 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.52e-05/0.8075, allocations: 50.05 kB / 0.9558 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.8077, allocations: 147.8 kB / 0.956 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.8077, allocations: 0 / 0.956 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8077, allocations: 1.531 kB / 0.956 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.8077, allocations: 0 / 0.956 GB, free: 6.336 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.0004197/0.8082, allocations: 463.8 kB / 0.9564 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.8082, allocations: 9.469 kB / 0.9564 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.8082, allocations: 31.75 kB / 0.9565 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.8083, allocations: 18.58 kB / 0.9565 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.618e-05/0.8084, allocations: 171.5 kB / 0.9566 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.8084, allocations: 11.19 kB / 0.9567 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.8085, allocations: 12.5 kB / 0.9567 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.8086, allocations: 59.02 kB / 0.9567 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.8086, allocations: 0 / 0.9567 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.8086, allocations: 1.344 kB / 0.9567 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.8086, allocations: 4 kB / 0.9567 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.724e-05/0.8087, allocations: 27.31 kB / 0.9568 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.8092, allocations: 415 kB / 0.9571 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.635e-05/0.8092, allocations: 31.58 kB / 0.9572 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.8093, allocations: 1.219 kB / 0.9572 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.8094, allocations: 108.7 kB / 0.9573 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.8094, allocations: 0 / 0.9573 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002602/0.8097, allocations: 139.7 kB / 0.9574 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.8097, allocations: 57.53 kB / 0.9575 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.206e-05/0.8098, allocations: 134.2 kB / 0.9576 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.8099, allocations: 36.12 kB / 0.9576 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.8099, allocations: 99.52 kB / 0.9577 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.8099, allocations: 22.53 kB / 0.9578 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.81, allocations: 5.688 kB / 0.9578 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.625e-05/0.81, allocations: 325 kB / 0.9581 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.8102, allocations: 89.06 kB / 0.9582 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.8104, allocations: 129.1 kB / 0.9583 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.8105, allocations: 170.6 kB / 0.9584 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8105, allocations: 0 / 0.9584 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004961/0.811, allocations: 379.3 kB / 0.9588 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/0.8111, allocations: 96.97 kB / 0.9589 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.8111, allocations: 9.531 kB / 0.9589 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.8111, allocations: 2.125 kB / 0.9589 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.403e-05/0.8112, allocations: 11.92 kB / 0.9589 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8112, allocations: 2.812 kB / 0.9589 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.8117, allocations: 111.2 kB / 0.959 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.8118, allocations: 24.61 kB / 0.959 GB, free: 3.562 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,or1.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 9.535e-05/0.8119, allocations: 129.8 kB / 0.9592 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.8119, allocations: 16.38 kB / 0.9592 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.8119, allocations: 10.69 kB / 0.9592 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.8119, allocations: 1.156 kB / 0.9592 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.8119, allocations: 0 / 0.9592 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8119, allocations: 0 / 0.9592 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.575e-05/0.812, allocations: 194.8 kB / 0.9594 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.812, allocations: 384 / 0.9594 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.026e-05/0.8121, allocations: 1.438 kB / 0.9594 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8121, allocations: 5.469 kB / 0.9594 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.8121, allocations: 5.703 kB / 0.9594 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.8121, allocations: 11.86 kB / 0.9594 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8121, allocations: 1.219 kB / 0.9594 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.8122, allocations: 126.8 kB / 0.9595 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.8123, allocations: 87.02 kB / 0.9596 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.8123, allocations: 10.02 kB / 0.9596 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.489e-05/0.8123, allocations: 7.953 kB / 0.9596 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.8124, allocations: 7.547 kB / 0.9596 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.8124, allocations: 8.969 kB / 0.9596 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.53e-05/0.8124, allocations: 94.97 kB / 0.9597 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8124, allocations: 0 / 0.9597 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002557/0.8127, allocations: 47.03 kB / 0.9598 GB, free: 2.867 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,or1.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.0003383/0.813, allocations: 0.6814 MB / 0.9604 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003553/0.8134, allocations: 358.6 kB / 0.9608 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8134, allocations: 0 / 0.9608 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.663e-05/0.8135, allocations: 39.36 kB / 0.9608 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.8137, allocations: 33.08 kB / 0.9609 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.8143, allocations: 1.347 MB / 0.9622 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.8145, allocations: 0.6945 MB / 0.9629 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.8145, allocations: 9.922 kB / 0.9629 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.8145, allocations: 24.94 kB / 0.9629 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.8145, allocations: 0 / 0.9629 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.8272, allocations: 3.409 MB / 0.9662 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.8274, allocations: 181.7 kB / 0.9664 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.529, allocations: 0 / 0.9664 GB, free: 13.91 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat does not exist to compare? outputFormat=mat