Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001463/0.001463, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001413/0.001413, allocations: 216.5 kB / 23.04 MB, free: 5.078 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.449/1.449, 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 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.803/2.803, allocations: 476.7 MB / 0.7714 GB, free: 4.293 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.Not,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_11_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.002041/0.002041, allocations: 62.28 kB / 1.118 GB, free: 39.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4211, allocations: 170 MB / 1.284 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002404/0.4235, allocations: 0.6082 MB / 1.285 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.4252, allocations: 1.157 MB / 1.286 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.4253, allocations: 3.938 kB / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.401e-05/0.4253, allocations: 11.92 kB / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.4254, allocations: 0 / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.426, allocations: 117.7 kB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.4262, allocations: 91.83 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.4263, allocations: 7.984 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.4264, allocations: 31.98 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.4265, allocations: 31.89 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.4266, allocations: 8 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.524e-05/0.4266, allocations: 19.98 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.4267, allocations: 11.98 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.921e-05/0.4267, allocations: 27.92 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.4269, allocations: 83.3 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.427, allocations: 0 / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.427, allocations: 0 / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.427, allocations: 0 / 1.286 GB, free: 9.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005607/0.4275, allocations: 300 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4276, allocations: 8.031 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.856e-05/0.4276, allocations: 192 / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.4276, allocations: 38.75 kB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.4277, allocations: 4.938 kB / 1.287 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.4278, allocations: 110.5 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.4278, allocations: 4.375 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.4279, allocations: 8.359 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.428, allocations: 38.02 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.428, allocations: 0 / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.428, allocations: 7.984 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.428, allocations: 3.938 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.99e-05/0.4281, allocations: 4 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.4286, allocations: 271.8 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.042e-05/0.4286, allocations: 18.58 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.4286, allocations: 12.91 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.4287, allocations: 0 / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.4289, allocations: 51.41 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.4289, allocations: 4 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002153/0.4291, allocations: 69.61 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.4291, allocations: 51.41 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.4292, allocations: 113.7 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.4293, allocations: 25.7 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.4293, allocations: 88.14 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.4294, allocations: 7.938 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.4294, allocations: 29.7 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4296, allocations: 322.8 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.123e-05/0.4297, allocations: 32.22 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.56e-05/0.4298, allocations: 46.56 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.4299, allocations: 88.2 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4299, allocations: 0 / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002798/0.4302, allocations: 143.5 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.4302, allocations: 33.7 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4302, allocations: 7.984 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4302, allocations: 3.984 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.869e-05/0.4303, allocations: 0 / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.4303, allocations: 4 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.4305, allocations: 27.91 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.4305, allocations: 4 kB / 1.288 GB, free: 7.246 MB / 0.9825 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.0001189/0.4306, allocations: 126.7 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.4306, allocations: 7.938 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.4307, allocations: 7.688 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4307, allocations: 0 / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4307, allocations: 0 / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.4307, allocations: 0 / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.4308, allocations: 140.6 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4308, allocations: 0 / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-06/0.4308, allocations: 0 / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4308, allocations: 4 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4308, allocations: 3.984 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4308, allocations: 0 / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4308, allocations: 0 / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.431, allocations: 85 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-06/0.431, allocations: 0 / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.431, allocations: 0 / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.792e-05/0.431, allocations: 4 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.4311, allocations: 7.984 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.4311, allocations: 0 / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.192e-05/0.4311, allocations: 87.34 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4311, allocations: 0 / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002189/0.4314, allocations: 19.95 kB / 1.289 GB, free: 6.691 MB / 0.9825 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.0004817/0.4318, allocations: 0.6163 MB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.4321, allocations: 111.3 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4321, allocations: 0 / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.991e-05/0.4321, allocations: 11.98 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.4323, allocations: 6.812 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.4339, allocations: 1.369 MB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.4343, allocations: 0.6807 MB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.341e-05/0.4343, allocations: 0 / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.4344, allocations: 15.44 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of SimCode: time 8.41e-07/0.4344, allocations: 0 / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.4576, allocations: 2.072 MB / 1.293 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.66, allocations: 11.06 kB / 1.293 GB, free: 1.789 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.41054377198452] Failed to read output from testmodel.py, exit status != 0: 12.424743448966183 11.841012689 11.41086685 Calling exit ...