Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.001335/0.001335, 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.001514/0.001514, allocations: 223 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.29/3.29, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",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.003315/0.003315, allocations: 67.28 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4067, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002299/0.409, allocations: 0.61 MB / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.4108, allocations: 1.128 MB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.4108, allocations: 4 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.4108, allocations: 0 / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.4109, allocations: 3.938 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.4115, allocations: 121 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.4117, allocations: 95.88 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.998e-05/0.4118, allocations: 0 / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.4119, allocations: 39.91 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.412, allocations: 31.89 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.412, allocations: 12 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.4121, allocations: 23.98 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.4121, allocations: 0 / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.4122, allocations: 27.92 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.4124, allocations: 88 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4124, allocations: 0 / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4124, allocations: 0 / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.4124, allocations: 0 / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006015/0.413, allocations: 300 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4131, allocations: 8.031 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.652e-05/0.4131, allocations: 192 / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.033e-05/0.4131, allocations: 34.75 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.4132, allocations: 8.891 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.4133, allocations: 106.5 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.4133, allocations: 8.375 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.4133, allocations: 8.359 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.4135, allocations: 37.95 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.4135, allocations: 0 / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.4135, allocations: 7.984 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.4135, allocations: 0 / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.447e-05/0.4135, allocations: 8 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.414, allocations: 244 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.531e-05/0.4141, allocations: 38.44 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.4141, allocations: 8.922 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.4141, allocations: 0 / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.4143, allocations: 67.36 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4143, allocations: 3.938 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002321/0.4146, allocations: 65.58 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.4146, allocations: 51.41 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.4148, allocations: 105.8 kB / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.4148, allocations: 29.7 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.4149, allocations: 84.14 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.4149, allocations: 11.95 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.415, allocations: 29.7 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4151, allocations: 318.8 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.4152, allocations: 57.69 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.4154, allocations: 80.25 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.4155, allocations: 80.22 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4155, allocations: 3.984 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002967/0.4158, allocations: 173.1 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/0.4158, allocations: 39.89 kB / 1.349 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.4158, allocations: 7.984 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4159, allocations: 0 / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-05/0.4159, allocations: 0 / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.4159, allocations: 4 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.4161, allocations: 31.86 kB / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.4161, allocations: 4 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001128/0.4162, allocations: 121.7 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.4162, allocations: 7.984 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.4163, allocations: 7.688 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4163, allocations: 0 / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4163, allocations: 0 / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4163, allocations: 0 / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.4164, allocations: 136.6 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4164, allocations: 0 / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-06/0.4164, allocations: 0 / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4164, allocations: 0 / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.4164, allocations: 0 / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4164, allocations: 320 / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4164, allocations: 4 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.4166, allocations: 88.98 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.4166, allocations: 11.95 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.4166, allocations: 4 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/0.4166, allocations: 0 / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.4166, allocations: 3.938 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.4167, allocations: 7.984 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.538e-05/0.4167, allocations: 79.28 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4167, allocations: 0 / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000217/0.4169, allocations: 16 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005017/0.4174, allocations: 0.6205 MB / 1.35 GB, free: 10.28 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002598/0.4177, allocations: 145 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4177, allocations: 0 / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.024e-05/0.4177, allocations: 7.984 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.4179, allocations: 4 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.4197, allocations: 1.489 MB / 1.352 GB, free: 8.488 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.789e-05/0.4198, allocations: 71.47 kB / 1.352 GB, free: 8.398 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.373e-05/0.4198, allocations: 7.938 kB / 1.352 GB, free: 8.391 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.4199, allocations: 11.44 kB / 1.352 GB, free: 8.379 MB / 1.045 GB Notification: Performance of SimCode: time 5.01e-07/0.4199, allocations: 0 / 1.352 GB, free: 8.379 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.4445, allocations: 2.168 MB / 1.354 GB, free: 6.375 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.86, allocations: 4.078 kB / 1.354 GB, free: 6.375 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.82465779699851] Failed to read output from testmodel.py, exit status != 0: 12.019592329044826 12.034580387 11.618785997 Calling exit ...