Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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: 84.38 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.001225/0.001225, 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.49/1.49, allocations: 223.2 MB / 240 MB, free: 5.414 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.446/2.446, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003779, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8025/0.8029, allocations: 142.3 MB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0007871/0.8038, allocations: 384.6 kB / 0.9542 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.8051, allocations: 1.154 MB / 0.9554 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.8051, allocations: 0 / 0.9554 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.8052, allocations: 9.156 kB / 0.9554 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.325e-05/0.8053, allocations: 9.141 kB / 0.9554 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007494/0.806, allocations: 200 kB / 0.9556 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.8063, allocations: 129.5 kB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.8064, allocations: 11.58 kB / 0.9557 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.8065, allocations: 59.27 kB / 0.9558 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.8067, allocations: 45.16 kB / 0.9558 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.143e-05/0.8067, allocations: 8.812 kB / 0.9558 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.8068, allocations: 21.98 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.8069, allocations: 11.91 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.623e-05/0.807, allocations: 40.02 kB / 0.9559 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.8072, allocations: 106.6 kB / 0.956 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.8072, allocations: 0 / 0.956 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.976e-06/0.8072, allocations: 1.156 kB / 0.956 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.8072, allocations: 0 / 0.956 GB, free: 6.484 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005301/0.8077, allocations: 414.1 kB / 0.9564 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.8078, allocations: 9.312 kB / 0.9564 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.8078, allocations: 39.64 kB / 0.9564 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.8079, allocations: 14.61 kB / 0.9564 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.808, allocations: 170.2 kB / 0.9566 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.8081, allocations: 4.406 kB / 0.9566 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.8081, allocations: 8.781 kB / 0.9566 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.8083, allocations: 50.84 kB / 0.9567 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.8083, allocations: 0.7812 kB / 0.9567 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.8083, allocations: 0 / 0.9567 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.8083, allocations: 5.406 kB / 0.9567 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.687e-05/0.8084, allocations: 19.69 kB / 0.9567 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006293/0.809, allocations: 350.7 kB / 0.957 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.144e-05/0.8091, allocations: 29.2 kB / 0.9571 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.8092, allocations: 22.56 kB / 0.9571 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.8092, allocations: 0 / 0.9571 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.8094, allocations: 87.98 kB / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.8095, allocations: 0 / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003471/0.8098, allocations: 103.6 kB / 0.9573 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.8099, allocations: 56.66 kB / 0.9573 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.81, allocations: 123 kB / 0.9574 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.81, allocations: 33.55 kB / 0.9575 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.8101, allocations: 92.55 kB / 0.9575 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.8101, allocations: 11.5 kB / 0.9576 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.8101, allocations: 7.391 kB / 0.9576 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.8102, allocations: 316.1 kB / 0.9579 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.8104, allocations: 58.56 kB / 0.9579 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.8106, allocations: 91.66 kB / 0.958 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.8108, allocations: 121.9 kB / 0.9581 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8108, allocations: 0 / 0.9581 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004471/0.8113, allocations: 262.3 kB / 0.9584 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.067e-05/0.8113, allocations: 69.11 kB / 0.9584 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.8114, allocations: 3.953 kB / 0.9584 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.8114, allocations: 2.906 kB / 0.9585 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.647e-05/0.8114, allocations: 5.438 kB / 0.9585 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.8114, allocations: 7.125 kB / 0.9585 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.8119, allocations: 81.92 kB / 0.9585 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.8119, allocations: 17.17 kB / 0.9586 GB, free: 4.035 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.000112/0.812, allocations: 119 kB / 0.9587 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.812, allocations: 1.781 kB / 0.9587 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.8121, allocations: 10.03 kB / 0.9587 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.8121, allocations: 5.828 kB / 0.9587 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.8121, allocations: 0 / 0.9587 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.8121, allocations: 0 / 0.9587 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.8123, allocations: 184.6 kB / 0.9589 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8123, allocations: 0 / 0.9589 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-06/0.8123, allocations: 1.812 kB / 0.9589 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8123, allocations: 1.781 kB / 0.9589 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.8123, allocations: 0 / 0.9589 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.8123, allocations: 1.906 kB / 0.9589 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8123, allocations: 3.953 kB / 0.9589 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.8125, allocations: 107.1 kB / 0.959 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.8125, allocations: 83.14 kB / 0.9591 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.8125, allocations: 10.27 kB / 0.9591 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.755e-05/0.8126, allocations: 0 / 0.9591 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.8126, allocations: 13.89 kB / 0.9591 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.8126, allocations: 10.89 kB / 0.9591 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.8127, allocations: 91.12 kB / 0.9592 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8127, allocations: 0 / 0.9592 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002731/0.813, allocations: 30.58 kB / 0.9592 GB, free: 3.383 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004556/0.8134, allocations: 0.647 MB / 0.9598 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003914/0.8138, allocations: 243.2 kB / 0.9601 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8138, allocations: 0.8438 kB / 0.9601 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.562e-05/0.8139, allocations: 32.27 kB / 0.9601 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.8142, allocations: 21.47 kB / 0.9601 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.8154, allocations: 0.7012 MB / 0.9608 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.8156, allocations: 0.6874 MB / 0.9615 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.722e-05/0.8156, allocations: 7.906 kB / 0.9615 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.8157, allocations: 19.14 kB / 0.9615 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.8157, allocations: 0 / 0.9615 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.8347, allocations: 2.566 MB / 0.964 GB, free: 16 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003392/0.8351, allocations: 187.8 kB / 0.9642 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.593, allocations: 0.9688 kB / 0.9642 GB, free: 15.78 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat does not exist to compare? outputFormat=mat