Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001362/0.001362, allocations: 115.7 kB / 17.17 MB, free: 5.977 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.001781/0.001781, allocations: 219 kB / 20.13 MB, free: 3.035 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.623/1.623, allocations: 230.6 MB / 253.5 MB, free: 15.06 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 2.955/2.955, allocations: 0.49 GB / 0.7923 GB, free: 1.328 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.Or,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.002182/0.002182, allocations: 71.89 kB / 1.15 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154/1.156, allocations: 176.1 MB / 1.321 GB, free: 7.777 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002444/1.158, allocations: 0.6548 MB / 1.322 GB, free: 7.281 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002174/1.16, allocations: 1.22 MB / 1.323 GB, free: 6.301 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/1.161, allocations: 0 / 1.323 GB, free: 6.301 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.368e-05/1.161, allocations: 3.938 kB / 1.323 GB, free: 6.297 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/1.161, allocations: 10.69 kB / 1.323 GB, free: 6.289 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008707/1.162, allocations: 220.8 kB / 1.324 GB, free: 6.141 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003359/1.162, allocations: 173.6 kB / 1.324 GB, free: 6.043 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/1.162, allocations: 11.39 kB / 1.324 GB, free: 6.035 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/1.162, allocations: 68.62 kB / 1.324 GB, free: 6 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/1.162, allocations: 64.34 kB / 1.324 GB, free: 5.953 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.128e-05/1.162, allocations: 14.53 kB / 1.324 GB, free: 5.953 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/1.162, allocations: 29.61 kB / 1.324 GB, free: 5.945 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/1.163, allocations: 15.33 kB / 1.324 GB, free: 5.934 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/1.163, allocations: 58.58 kB / 1.324 GB, free: 5.895 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002912/1.163, allocations: 148.2 kB / 1.324 GB, free: 5.785 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.163, allocations: 0 / 1.324 GB, free: 5.785 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/1.163, allocations: 3.938 kB / 1.324 GB, free: 5.781 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.342e-06/1.163, allocations: 1.219 kB / 1.324 GB, free: 5.781 MB / 1.014 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.0007602/1.164, allocations: 436.5 kB / 1.325 GB, free: 5.324 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.164, allocations: 13.73 kB / 1.325 GB, free: 5.32 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.776e-05/1.164, allocations: 4.188 kB / 1.325 GB, free: 5.316 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/1.164, allocations: 36.09 kB / 1.325 GB, free: 5.273 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.271e-05/1.164, allocations: 8.969 kB / 1.325 GB, free: 5.273 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/1.164, allocations: 170.8 kB / 1.325 GB, free: 5.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/1.164, allocations: 8.203 kB / 1.325 GB, free: 5.066 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/1.164, allocations: 10.22 kB / 1.325 GB, free: 5.066 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/1.164, allocations: 51.38 kB / 1.325 GB, free: 5.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.164, allocations: 0 / 1.325 GB, free: 5.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/1.164, allocations: 0 / 1.325 GB, free: 5.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.164, allocations: 0.9375 kB / 1.325 GB, free: 5.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.471e-05/1.164, allocations: 24.3 kB / 1.325 GB, free: 5.004 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/1.165, allocations: 354.9 kB / 1.325 GB, free: 4.641 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.279e-05/1.165, allocations: 27.8 kB / 1.325 GB, free: 4.613 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.992e-05/1.165, allocations: 22.09 kB / 1.325 GB, free: 4.594 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/1.165, allocations: 1.594 kB / 1.325 GB, free: 4.594 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/1.165, allocations: 91.42 kB / 1.325 GB, free: 4.512 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/1.165, allocations: 0 / 1.325 GB, free: 4.512 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0003137/1.166, allocations: 100.4 kB / 1.325 GB, free: 4.453 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/1.166, allocations: 52.69 kB / 1.325 GB, free: 4.391 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/1.166, allocations: 126.5 kB / 1.326 GB, free: 4.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/1.166, allocations: 29.86 kB / 1.326 GB, free: 4.238 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/1.166, allocations: 88.2 kB / 1.326 GB, free: 4.152 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/1.166, allocations: 18.64 kB / 1.326 GB, free: 4.137 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/1.166, allocations: 57.36 kB / 1.326 GB, free: 4.098 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.166, allocations: 320.3 kB / 1.326 GB, free: 3.777 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/1.166, allocations: 54.5 kB / 1.326 GB, free: 3.754 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/1.167, allocations: 99.72 kB / 1.326 GB, free: 3.676 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/1.167, allocations: 159.5 kB / 1.326 GB, free: 3.531 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.167, allocations: 1.438 kB / 1.326 GB, free: 3.531 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004739/1.167, allocations: 265.1 kB / 1.327 GB, free: 3.355 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/1.167, allocations: 66.38 kB / 1.327 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.167, allocations: 1.094 kB / 1.327 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/1.167, allocations: 6.859 kB / 1.327 GB, free: 3.285 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.346e-05/1.167, allocations: 9.406 kB / 1.327 GB, free: 3.277 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/1.167, allocations: 1.406 kB / 1.327 GB, free: 3.277 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/1.168, allocations: 61.08 kB / 1.327 GB, free: 3.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/1.168, allocations: 13.3 kB / 1.327 GB, free: 3.246 MB / 1.014 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,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/1.168, allocations: 122.5 kB / 1.327 GB, free: 3.125 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/1.168, allocations: 1.5 kB / 1.327 GB, free: 3.125 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/1.168, allocations: 13.75 kB / 1.327 GB, free: 3.109 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.168, allocations: 5.375 kB / 1.327 GB, free: 3.105 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.168, allocations: 0 / 1.327 GB, free: 3.105 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.168, allocations: 1.531 kB / 1.327 GB, free: 3.105 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/1.168, allocations: 180.1 kB / 1.327 GB, free: 2.891 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.168, allocations: 0 / 1.327 GB, free: 2.891 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/1.168, allocations: 5.75 kB / 1.327 GB, free: 2.887 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.168, allocations: 1.75 kB / 1.327 GB, free: 2.887 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/1.168, allocations: 0 / 1.327 GB, free: 2.887 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.168, allocations: 5.406 kB / 1.327 GB, free: 2.883 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.168, allocations: 4 kB / 1.327 GB, free: 2.879 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/1.168, allocations: 112.3 kB / 1.327 GB, free: 2.785 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.729e-05/1.169, allocations: 85.95 kB / 1.327 GB, free: 2.684 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/1.169, allocations: 1.125 kB / 1.327 GB, free: 2.684 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.503e-05/1.169, allocations: 5.031 kB / 1.327 GB, free: 2.68 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/1.169, allocations: 3.375 kB / 1.327 GB, free: 2.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/1.169, allocations: 6.047 kB / 1.327 GB, free: 2.676 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.214e-05/1.169, allocations: 95.41 kB / 1.327 GB, free: 2.59 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.169, allocations: 0 / 1.327 GB, free: 2.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002993/1.169, allocations: 44.27 kB / 1.327 GB, free: 2.574 MB / 1.014 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 (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.0007149/1.17, allocations: 0.646 MB / 1.328 GB, free: 1.953 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004178/1.17, allocations: 224.2 kB / 1.328 GB, free: 1.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.17, allocations: 0 / 1.328 GB, free: 1.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.447e-05/1.17, allocations: 29.94 kB / 1.328 GB, free: 1.754 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/1.171, allocations: 19.94 kB / 1.328 GB, free: 1.742 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/1.173, allocations: 1.717 MB / 1.33 GB, free: 228 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/1.173, allocations: 0.6916 MB / 1.331 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.259e-05/1.173, allocations: 4.312 kB / 1.331 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/1.173, allocations: 18.62 kB / 1.331 GB, free: 15.5 MB / 1.029 GB Notification: Performance of SimCode: time 4.9e-07/1.173, allocations: 4 kB / 1.331 GB, free: 15.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/1.195, allocations: 2.926 MB / 1.334 GB, free: 13.96 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/9.582, allocations: 7.172 kB / 1.334 GB, free: 13.96 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.156374614976812] Failed to read output from testmodel.py, exit status != 0: 9.710047799977474 9.732268385 8.565441501 Calling exit ...