Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.001801/0.001801, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002189/0.002189, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.592/1.592, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.003/3.003, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 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.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.002382/0.002382, allocations: 75.89 kB / 1.165 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002031/1.094, allocations: 0.6592 MB / 1.341 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001639/1.096, allocations: 1.219 MB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/1.096, allocations: 4 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/1.096, allocations: 5.5 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.378e-05/1.096, allocations: 7.906 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/1.096, allocations: 219 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002529/1.097, allocations: 174.6 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/1.097, allocations: 9.844 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.695e-05/1.097, allocations: 67.3 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/1.097, allocations: 65.19 kB / 1.343 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/1.097, allocations: 16.06 kB / 1.343 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.182e-05/1.097, allocations: 33.06 kB / 1.343 GB, free: 14.74 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/1.097, allocations: 8.406 kB / 1.343 GB, free: 14.74 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.993e-05/1.097, allocations: 53.36 kB / 1.343 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/1.098, allocations: 153 kB / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.098, allocations: 1.25 kB / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.304e-06/1.098, allocations: 0 / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.154e-06/1.098, allocations: 0 / 1.343 GB, free: 14.66 MB / 1.061 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.000518/1.098, allocations: 443.8 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.098, allocations: 9.812 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.486e-05/1.098, allocations: 1.312 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.18e-05/1.098, allocations: 32.98 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/1.098, allocations: 16.03 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.961e-05/1.098, allocations: 176.9 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/1.098, allocations: 9.516 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/1.098, allocations: 9.297 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/1.099, allocations: 50.62 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.099, allocations: 4 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/1.099, allocations: 4 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/1.099, allocations: 2.234 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.551e-05/1.099, allocations: 15.98 kB / 1.344 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/1.099, allocations: 350.8 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.707e-05/1.099, allocations: 33.58 kB / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/1.099, allocations: 11.58 kB / 1.344 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/1.099, allocations: 5.062 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/1.1, allocations: 89.86 kB / 1.344 GB, free: 13.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/1.1, allocations: 0 / 1.344 GB, free: 13.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002734/1.1, allocations: 99.72 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/1.1, allocations: 58.94 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.969e-05/1.1, allocations: 120.8 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/1.1, allocations: 29.61 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/1.1, allocations: 98.22 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/1.1, allocations: 15.03 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/1.1, allocations: 48.95 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.215e-05/1.1, allocations: 318.4 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/1.1, allocations: 59.39 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/1.101, allocations: 96.94 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/1.101, allocations: 160 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.101, allocations: 0 / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004302/1.101, allocations: 268.7 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.324e-05/1.101, allocations: 68.67 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.101, allocations: 5.375 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/1.101, allocations: 1.891 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.721e-05/1.101, allocations: 7.203 kB / 1.345 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/1.101, allocations: 2.172 kB / 1.345 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/1.102, allocations: 55.64 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/1.102, allocations: 16.2 kB / 1.345 GB, free: 12.32 MB / 1.061 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,nor1.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 9.072e-05/1.102, allocations: 131.4 kB / 1.346 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/1.102, allocations: 7.359 kB / 1.346 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/1.102, allocations: 6.453 kB / 1.346 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.102, allocations: 1.375 kB / 1.346 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.102, allocations: 0 / 1.346 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.102, allocations: 0.7969 kB / 1.346 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/1.102, allocations: 179.5 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.102, allocations: 0.6562 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-06/1.102, allocations: 1.938 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.102, allocations: 7.938 kB / 1.346 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/1.102, allocations: 2.031 kB / 1.346 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.102, allocations: 1.984 kB / 1.346 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.102, allocations: 0 / 1.346 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/1.102, allocations: 112.5 kB / 1.346 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/1.102, allocations: 83 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/1.102, allocations: 1.938 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/1.102, allocations: 0.5625 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/1.102, allocations: 14.58 kB / 1.346 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/1.102, allocations: 7.922 kB / 1.346 GB, free: 11.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.864e-05/1.102, allocations: 92.73 kB / 1.346 GB, free: 11.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.102, allocations: 288 / 1.346 GB, free: 11.69 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002478/1.103, allocations: 35.98 kB / 1.346 GB, free: 11.68 MB / 1.061 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,nor1.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.0003966/1.103, allocations: 0.6551 MB / 1.347 GB, free: 11.06 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003427/1.103, allocations: 220.4 kB / 1.347 GB, free: 10.9 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.103, allocations: 0 / 1.347 GB, free: 10.9 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.192e-05/1.103, allocations: 24.22 kB / 1.347 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/1.104, allocations: 16.58 kB / 1.347 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/1.105, allocations: 1.722 MB / 1.349 GB, free: 9.449 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/1.106, allocations: 0.6869 MB / 1.349 GB, free: 8.754 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.383e-05/1.106, allocations: 13.34 kB / 1.349 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/1.106, allocations: 15.94 kB / 1.349 GB, free: 8.734 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/1.106, allocations: 0 / 1.349 GB, free: 8.734 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/1.126, allocations: 2.942 MB / 1.352 GB, free: 8.215 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/9.541, allocations: 9.453 kB / 1.352 GB, free: 8.215 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.26630982098868] Failed to read output from testmodel.py, exit status != 0: 9.66345650004223 9.675293475 8.575135248 Calling exit ...