Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002219/0.002219, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002835/0.002835, allocations: 217.8 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.719/2.719, allocations: 476.8 MB / 0.7715 GB, free: 3.852 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 64.83 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3209, allocations: 170 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002297/0.3232, allocations: 0.8048 MB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001948/0.3252, allocations: 1.484 MB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.3252, allocations: 3.938 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.3253, allocations: 19.8 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.567e-05/0.3254, allocations: 39.7 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.3266, allocations: 0.5087 MB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005343/0.3271, allocations: 483.2 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3273, allocations: 29.19 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.3275, allocations: 199.6 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.3277, allocations: 167.5 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.032e-05/0.3278, allocations: 40 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.3279, allocations: 51.98 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.649e-05/0.328, allocations: 43.84 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.3282, allocations: 151.6 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.3286, allocations: 416.1 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3286, allocations: 4 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.542e-06/0.3286, allocations: 0 / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.3286, allocations: 0 / 1.288 GB, free: 6.184 MB / 0.9825 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.0007621/0.3294, allocations: 0.574 MB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3294, allocations: 12.03 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.363e-05/0.3294, allocations: 4.188 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.3295, allocations: 42.73 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.016e-05/0.3296, allocations: 32.8 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.3299, allocations: 203.4 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.3299, allocations: 28.3 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.206e-05/0.33, allocations: 28.38 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.3303, allocations: 157.2 kB / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.3303, allocations: 0 / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.3303, allocations: 4 kB / 1.289 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3303, allocations: 0 / 1.289 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.3304, allocations: 95.73 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008215/0.3313, allocations: 0.5933 MB / 1.29 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.3314, allocations: 90.55 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.381e-05/0.3315, allocations: 40.84 kB / 1.29 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.3315, allocations: 4 kB / 1.29 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/0.3318, allocations: 159.3 kB / 1.29 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.3318, allocations: 96 / 1.29 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004724/0.3323, allocations: 251.4 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.3323, allocations: 59.34 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.3325, allocations: 186.7 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.3326, allocations: 41.7 kB / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3327, allocations: 128.6 kB / 1.291 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.3328, allocations: 43.73 kB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.333, allocations: 117.6 kB / 1.291 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3331, allocations: 330.8 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.3335, allocations: 304.4 kB / 1.292 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.334, allocations: 390.7 kB / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.3345, allocations: 417.7 kB / 1.293 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3345, allocations: 0 / 1.293 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001111/0.3356, allocations: 0.7719 MB / 1.293 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.3357, allocations: 168.5 kB / 1.294 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3357, allocations: 4 kB / 1.294 GB, free: 500 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3357, allocations: 4 kB / 1.294 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.399e-05/0.3358, allocations: 7.938 kB / 1.294 GB, free: 488 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.3358, allocations: 7.984 kB / 1.294 GB, free: 480 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007524/0.3365, allocations: 143.7 kB / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-05/0.3366, allocations: 31.98 kB / 1.294 GB, free: 304 kB / 0.9825 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,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.3368, allocations: 155 kB / 1.294 GB, free: 140 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.3368, allocations: 27.83 kB / 1.294 GB, free: 112 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.3369, allocations: 17.81 kB / 1.294 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3369, allocations: 4 kB / 1.294 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3369, allocations: 4 kB / 1.294 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3369, allocations: 0 / 1.294 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.3375, allocations: 481.3 kB / 1.294 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3375, allocations: 0 / 1.294 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.3375, allocations: 4 kB / 1.294 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3375, allocations: 0 / 1.294 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.3375, allocations: 11.98 kB / 1.294 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3375, allocations: 4.062 kB / 1.294 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3375, allocations: 0 / 1.294 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.3378, allocations: 285.8 kB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.3378, allocations: 19.91 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.3379, allocations: 4 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.3379, allocations: 4 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.338, allocations: 19.97 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.338, allocations: 7.984 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001001/0.3381, allocations: 119.2 kB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3381, allocations: 0 / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003699/0.3385, allocations: 83.94 kB / 1.295 GB, free: 15 MB / 0.9981 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 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007092/0.3392, allocations: 0.8376 MB / 1.296 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008516/0.34, allocations: 0.6943 MB / 1.296 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.34, allocations: 0 / 1.296 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.3401, allocations: 63.91 kB / 1.296 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.3406, allocations: 46.98 kB / 1.296 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004326/0.3449, allocations: 3.632 MB / 1.3 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.345, allocations: 120.1 kB / 1.3 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.29e-05/0.3451, allocations: 21.47 kB / 1.3 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.3452, allocations: 59.41 kB / 1.3 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.3452, allocations: 0 / 1.3 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.3738, allocations: 7.071 MB / 1.307 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.13, allocations: 9.75 kB / 1.307 GB, free: 2.273 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.76174899400212] Failed to read output from testmodel.py, exit status != 0: 12.826929642003961 12.326305401 11.993080773 Calling exit ...