Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.001802/0.001802, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002277/0.002277, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.189/3.189, allocations: 0.49 GB / 0.7959 GB, free: 33.45 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.MultiOr,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.002136/0.002136, allocations: 68.38 kB / 1.155 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3729, allocations: 176.1 MB / 1.327 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002789/0.3757, allocations: 0.8354 MB / 1.327 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00251/0.3782, allocations: 1.521 MB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.3783, allocations: 0 / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.3784, allocations: 19.8 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.132e-05/0.3785, allocations: 35.7 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.38, allocations: 0.5164 MB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008698/0.3809, allocations: 475.2 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.3811, allocations: 25.67 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003833/0.3815, allocations: 191.7 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.3818, allocations: 179.5 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3819, allocations: 40 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.382, allocations: 55.98 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.3821, allocations: 47.84 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.3823, allocations: 159.5 kB / 1.331 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005956/0.3829, allocations: 415 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3829, allocations: 0 / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3829, allocations: 0 / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.383, allocations: 0 / 1.331 GB, free: 13.46 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.0009933/0.384, allocations: 0.5761 MB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.384, allocations: 11.97 kB / 1.332 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.021e-05/0.384, allocations: 4.188 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.368e-05/0.3841, allocations: 50.73 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.3842, allocations: 32.83 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.3845, allocations: 202.2 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.3846, allocations: 24.3 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/0.3846, allocations: 28.38 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.385, allocations: 153.4 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.385, allocations: 0 / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.385, allocations: 11.94 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.385, allocations: 8 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.3851, allocations: 83.94 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009997/0.3861, allocations: 0.6672 MB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.3864, allocations: 94.47 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.719e-05/0.3864, allocations: 40.84 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.3864, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003547/0.3868, allocations: 164.7 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.3868, allocations: 0 / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005065/0.3873, allocations: 239.1 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3874, allocations: 59.41 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.3875, allocations: 186.7 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.3876, allocations: 41.7 kB / 1.334 GB, free: 10.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.3877, allocations: 128.6 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/0.3878, allocations: 39.73 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.388, allocations: 113.6 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3881, allocations: 330.8 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.3885, allocations: 156 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/0.3889, allocations: 246.1 kB / 1.335 GB, free: 9.551 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.3894, allocations: 405 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3894, allocations: 11.94 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001088/0.3905, allocations: 0.6245 MB / 1.336 GB, free: 8.418 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.3906, allocations: 164.4 kB / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.3906, allocations: 7.984 kB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3907, allocations: 4 kB / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.188e-05/0.3907, allocations: 16.28 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3907, allocations: 11.94 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007874/0.3915, allocations: 127.7 kB / 1.336 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/0.3916, allocations: 35.97 kB / 1.336 GB, free: 8.027 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,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.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.0001991/0.3918, allocations: 158.1 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.3918, allocations: 19.78 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.3918, allocations: 25.78 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3918, allocations: 4 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3918, allocations: 0 / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3919, allocations: 4 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.3925, allocations: 493.3 kB / 1.337 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3925, allocations: 0 / 1.337 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.3925, allocations: 11.92 kB / 1.337 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3925, allocations: 0 / 1.337 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.3925, allocations: 8 kB / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3925, allocations: 0 / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3925, allocations: 0 / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.3928, allocations: 289.3 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.3929, allocations: 15.97 kB / 1.337 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3929, allocations: 4 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.393, allocations: 7.984 kB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.393, allocations: 19.97 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.393, allocations: 8 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.745e-05/0.3931, allocations: 115.2 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3931, allocations: 0 / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003797/0.3935, allocations: 95.81 kB / 1.337 GB, free: 6.695 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 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.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.0006746/0.3942, allocations: 0.8194 MB / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007738/0.395, allocations: 0.5502 MB / 1.339 GB, free: 5.242 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.395, allocations: 4.188 kB / 1.339 GB, free: 5.238 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3951, allocations: 63.91 kB / 1.339 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.3955, allocations: 53.86 kB / 1.339 GB, free: 5.125 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/0.3995, allocations: 3.023 MB / 1.342 GB, free: 1.922 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.3998, allocations: 0.7242 MB / 1.342 GB, free: 1.172 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.855e-05/0.3999, allocations: 21.48 kB / 1.342 GB, free: 1.152 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.885e-05/0.4, allocations: 63.41 kB / 1.342 GB, free: 1.09 MB / 1.029 GB Notification: Performance of SimCode: time 7.01e-07/0.4, allocations: 0 / 1.342 GB, free: 1.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.4291, allocations: 6.618 MB / 1.349 GB, free: 10.67 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.08, allocations: 4.062 kB / 1.349 GB, free: 10.66 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.872523632016964] Failed to read output from testmodel.py, exit status != 0: 12.247801683959551 12.27815076 11.890131519 Calling exit ...