Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001682/0.001682, 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.001602/0.001602, allocations: 221.2 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.294/3.294, allocations: 0.49 GB / 0.7959 GB, free: 35.6 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.Not,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_12_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.002001/0.002001, allocations: 67.53 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3709, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002037/0.373, allocations: 0.6157 MB / 1.327 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3745, allocations: 1.124 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.3746, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.3746, allocations: 8 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.3747, allocations: 7.922 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.3752, allocations: 115.7 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.3754, allocations: 83.88 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.089e-05/0.3754, allocations: 7.984 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.036e-05/0.3755, allocations: 35.92 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.3757, allocations: 35.88 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.3757, allocations: 8 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.291e-05/0.3758, allocations: 28 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.3758, allocations: 3.984 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.3758, allocations: 27.92 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.376, allocations: 83.95 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.376, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.376, allocations: 4 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.376, allocations: 0 / 1.329 GB, free: 15.32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005253/0.3766, allocations: 296 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3766, allocations: 12.03 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.81e-05/0.3766, allocations: 192 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.3767, allocations: 34.73 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.3767, allocations: 8.938 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3768, allocations: 114.5 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3769, allocations: 384 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.3769, allocations: 8.375 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.377, allocations: 42 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.377, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.377, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.377, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.337e-05/0.377, allocations: 15.92 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.3775, allocations: 247.9 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.852e-05/0.3775, allocations: 26.58 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.3775, allocations: 4.922 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.3776, allocations: 4 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.3777, allocations: 63.27 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.3777, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002028/0.3779, allocations: 61.69 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.378, allocations: 55.39 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3781, allocations: 109.8 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.3781, allocations: 25.7 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.3782, allocations: 92.12 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.3782, allocations: 11.95 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/0.3783, allocations: 29.7 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3784, allocations: 322.7 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3785, allocations: 57.67 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.3786, allocations: 76.27 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3788, allocations: 80.27 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3788, allocations: 3.938 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002881/0.3791, allocations: 173 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.3791, allocations: 37.78 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3791, allocations: 7.938 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.3791, allocations: 4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.748e-05/0.3791, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3791, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.3794, allocations: 27.91 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.3794, allocations: 7.984 kB / 1.331 GB, free: 13.04 MB / 1.029 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 9.784e-05/0.3795, allocations: 122.3 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.3795, allocations: 3.953 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.3795, allocations: 7.688 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3795, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3795, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3795, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.3797, allocations: 132.7 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3797, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.055e-05/0.3797, allocations: 7.984 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3797, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.3797, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3797, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3797, allocations: 3.938 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.3798, allocations: 89.23 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.3798, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.3798, allocations: 48 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.37e-05/0.3798, allocations: 12.28 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.3799, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.3799, allocations: 4 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.3799, allocations: 83.28 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3799, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002154/0.3802, allocations: 23.94 kB / 1.331 GB, free: 12.48 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: 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.0004648/0.3806, allocations: 0.6163 MB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.3809, allocations: 141.1 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3809, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.045e-05/0.3809, allocations: 7.938 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.3811, allocations: 17.53 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.3828, allocations: 1.488 MB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.102e-05/0.3828, allocations: 63.34 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.505e-05/0.3829, allocations: 8.188 kB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.3829, allocations: 11.42 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3829, allocations: 0 / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.4058, allocations: 2.174 MB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.71, allocations: 3.031 kB / 1.336 GB, free: 7.934 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.622338040964678] Failed to read output from testmodel.py, exit status != 0: 11.869101396994665 11.886504488 11.507241536 Calling exit ...