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.0008344/0.0008344, allocations: 92 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.0009798/0.0009799, 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.399/1.399, allocations: 223.3 MB / 240 MB, free: 5.434 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.453/2.453, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003188, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8159/0.8162, allocations: 142.3 MB / 0.9539 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.000829/0.8171, allocations: 425.1 kB / 0.9543 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.8185, allocations: 1.236 MB / 0.9555 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.8186, allocations: 4.969 kB / 0.9555 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.8186, allocations: 7.922 kB / 0.9555 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.49e-05/0.8187, allocations: 9.734 kB / 0.9555 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007445/0.8195, allocations: 281.2 kB / 0.9558 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.8197, allocations: 199.2 kB / 0.956 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.8198, allocations: 14.34 kB / 0.956 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.8199, allocations: 90.38 kB / 0.9561 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.8201, allocations: 67.52 kB / 0.9561 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.8201, allocations: 12.53 kB / 0.9561 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.4e-05/0.8202, allocations: 26.61 kB / 0.9562 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.8202, allocations: 8.438 kB / 0.9562 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.589e-05/0.8203, allocations: 50.7 kB / 0.9562 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.8205, allocations: 156.7 kB / 0.9564 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8205, allocations: 4 kB / 0.9564 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8206, allocations: 0 / 0.9564 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.8206, allocations: 1.312 kB / 0.9564 GB, free: 6.504 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.0004532/0.821, allocations: 455.2 kB / 0.9568 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.8211, allocations: 9.938 kB / 0.9568 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.8211, allocations: 35.59 kB / 0.9568 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.8212, allocations: 22.03 kB / 0.9569 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.711e-05/0.8213, allocations: 167.9 kB / 0.957 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.8213, allocations: 9.719 kB / 0.957 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.8213, allocations: 21.41 kB / 0.9571 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.8215, allocations: 55.09 kB / 0.9571 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.8215, allocations: 0 / 0.9571 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.8215, allocations: 8.797 kB / 0.9571 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.8215, allocations: 1.156 kB / 0.9571 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.861e-05/0.8216, allocations: 23.05 kB / 0.9571 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.822, allocations: 415 kB / 0.9575 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.378e-05/0.8221, allocations: 39.38 kB / 0.9576 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.8221, allocations: 21.67 kB / 0.9576 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.8222, allocations: 3.938 kB / 0.9576 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.8223, allocations: 101.1 kB / 0.9577 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.8224, allocations: 0 / 0.9577 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002648/0.8226, allocations: 136.5 kB / 0.9578 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.8227, allocations: 56.91 kB / 0.9579 GB, free: 5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.517e-05/0.8227, allocations: 132.7 kB / 0.958 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.8228, allocations: 35.02 kB / 0.958 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.8228, allocations: 99.41 kB / 0.9581 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.8229, allocations: 20.19 kB / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.8229, allocations: 9.438 kB / 0.9582 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.388e-05/0.8229, allocations: 320.9 kB / 0.9585 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.8231, allocations: 88.89 kB / 0.9586 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.8233, allocations: 138.1 kB / 0.9587 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.8234, allocations: 169.1 kB / 0.9588 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8235, allocations: 4 kB / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005922/0.8241, allocations: 383.5 kB / 0.9592 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-05/0.8241, allocations: 97.41 kB / 0.9593 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.8242, allocations: 1.344 kB / 0.9593 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.8242, allocations: 2.656 kB / 0.9593 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.907e-05/0.8242, allocations: 2.625 kB / 0.9593 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.8243, allocations: 6.859 kB / 0.9593 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006176/0.8249, allocations: 125.6 kB / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/0.8249, allocations: 17.11 kB / 0.9595 GB, free: 3.711 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 0.0001354/0.8251, allocations: 135.9 kB / 0.9596 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.8251, allocations: 12.05 kB / 0.9596 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.8251, allocations: 9.625 kB / 0.9596 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.8252, allocations: 5.75 kB / 0.9596 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.8252, allocations: 0 / 0.9596 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.8252, allocations: 1.125 kB / 0.9596 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.8253, allocations: 189.9 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.8253, allocations: 3.938 kB / 0.9598 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.148e-05/0.8254, allocations: 1.344 kB / 0.9598 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.8254, allocations: 1.281 kB / 0.9598 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.8254, allocations: 9.297 kB / 0.9598 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.8254, allocations: 1.25 kB / 0.9598 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8254, allocations: 0 / 0.9598 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.8256, allocations: 138.7 kB / 0.9599 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.8256, allocations: 83.2 kB / 0.96 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.8256, allocations: 1.156 kB / 0.96 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.726e-05/0.8257, allocations: 17.19 kB / 0.96 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.8257, allocations: 4.5 kB / 0.96 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.8257, allocations: 7.266 kB / 0.96 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.8258, allocations: 98.23 kB / 0.9601 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.022e-06/0.8258, allocations: 0 / 0.9601 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002625/0.8261, allocations: 51.41 kB / 0.9602 GB, free: 3.012 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.0003517/0.8264, allocations: 0.6693 MB / 0.9608 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.8268, allocations: 358.2 kB / 0.9612 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8268, allocations: 5.438 kB / 0.9612 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.747e-05/0.8269, allocations: 46.05 kB / 0.9612 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.8272, allocations: 29.53 kB / 0.9613 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.8284, allocations: 0.905 MB / 0.9621 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.8285, allocations: 0.6964 MB / 0.9628 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.338e-05/0.8286, allocations: 6.812 kB / 0.9628 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.8286, allocations: 28.45 kB / 0.9629 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8286, allocations: 0 / 0.9629 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.8428, allocations: 3.444 MB / 0.9662 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.843, allocations: 185 kB / 0.9664 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.588, allocations: 4 kB / 0.9664 GB, free: 14.72 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