Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001357/0.001357, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001398/0.001398, allocations: 215.3 kB / 23.03 MB, free: 4.922 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.149/3.149, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_12_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.0021/0.0021, allocations: 66.77 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3372, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002156/0.3393, allocations: 0.8042 MB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.3414, allocations: 1.498 MB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.3415, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.3416, allocations: 19.8 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.252e-05/0.3417, allocations: 35.72 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.3431, allocations: 0.5149 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006303/0.3437, allocations: 483.2 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.3438, allocations: 29.66 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.3441, allocations: 183.8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.3444, allocations: 183.4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.3445, allocations: 40 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.3446, allocations: 44 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.888e-05/0.3447, allocations: 47.84 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.3449, allocations: 147.6 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.3454, allocations: 418.9 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3454, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 5.189e-06/0.3454, allocations: 3.984 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.3454, allocations: 4 kB / 1.331 GB, free: 13.06 MB / 1.029 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.0009158/0.3464, allocations: 0.5739 MB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3464, allocations: 12.03 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.479e-05/0.3464, allocations: 4.188 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.3465, allocations: 46.73 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.423e-05/0.3466, allocations: 28.84 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.3469, allocations: 202.2 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.3469, allocations: 24.25 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.347, allocations: 32.36 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.3473, allocations: 151.6 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.3473, allocations: 4 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.3473, allocations: 8 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3473, allocations: 0 / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.3474, allocations: 83.89 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.3483, allocations: 0.5971 MB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.3485, allocations: 86.48 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.297e-05/0.3485, allocations: 44.83 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.3486, allocations: 0 / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002936/0.3488, allocations: 159.2 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.3488, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004761/0.3493, allocations: 246.8 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.3494, allocations: 67.38 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.3496, allocations: 182.8 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.3496, allocations: 41.64 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.3498, allocations: 124.6 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.3498, allocations: 43.73 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.35, allocations: 113.6 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3502, allocations: 334.8 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.3506, allocations: 308.4 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/0.3511, allocations: 386.7 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005469/0.3516, allocations: 416.5 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3516, allocations: 0 / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001156/0.3528, allocations: 0.7876 MB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.3529, allocations: 160.4 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.3529, allocations: 4.344 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3529, allocations: 8 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.855e-05/0.353, allocations: 11.92 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.353, allocations: 4 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/0.3538, allocations: 139.7 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/0.3539, allocations: 35.97 kB / 1.336 GB, free: 7.172 MB / 1.029 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.0001919/0.354, allocations: 163.5 kB / 1.336 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.3541, allocations: 15.84 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.3541, allocations: 21.8 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3541, allocations: 4 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3541, allocations: 0 / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3541, allocations: 7.938 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005997/0.3547, allocations: 478.9 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3547, allocations: 0 / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.3548, allocations: 7.938 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3548, allocations: 0 / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.3548, allocations: 8 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3548, allocations: 0 / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.3548, allocations: 7.969 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.3551, allocations: 280.7 kB / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.3551, allocations: 11.91 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.3552, allocations: 7.984 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.3552, allocations: 8 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.3553, allocations: 19.97 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.3553, allocations: 12 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.804e-05/0.3554, allocations: 111.2 kB / 1.337 GB, free: 5.953 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3554, allocations: 0 / 1.337 GB, free: 5.953 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003779/0.3558, allocations: 91.88 kB / 1.337 GB, free: 5.863 MB / 1.029 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.0007078/0.3565, allocations: 0.8199 MB / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008993/0.3574, allocations: 0.7081 MB / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3574, allocations: 0 / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.3575, allocations: 67.91 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.3579, allocations: 40.66 kB / 1.339 GB, free: 4.113 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/0.3626, allocations: 3.638 MB / 1.343 GB, free: 176 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.3627, allocations: 116.1 kB / 1.343 GB, free: 40 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.572e-05/0.3627, allocations: 25.47 kB / 1.343 GB, free: 16 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.3629, allocations: 59.42 kB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of SimCode: time 6.12e-07/0.3629, allocations: 0 / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.3941, allocations: 7.073 MB / 1.35 GB, free: 9.152 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.01, allocations: 9.781 kB / 1.35 GB, free: 9.145 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.75907755398657] Failed to read output from testmodel.py, exit status != 0: 12.182669923990034 12.207567483 11.857582168 Calling exit ...