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.001237/0.001237, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001503/0.001503, allocations: 217 kB / 23.04 MB, free: 5.074 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.973 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.247/3.247, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 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.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.002/0.002, allocations: 71.12 kB / 1.171 GB, free: 19.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4318, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002136/0.4339, allocations: 0.6528 MB / 1.346 GB, free: 15.8 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001937/0.4359, allocations: 1.222 MB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.4359, allocations: 0 / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.678e-05/0.436, allocations: 3.938 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.4361, allocations: 19.92 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008244/0.4369, allocations: 209.4 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.4372, allocations: 175.6 kB / 1.348 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.4373, allocations: 19.98 kB / 1.348 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.4374, allocations: 67.89 kB / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.4376, allocations: 59.84 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.4377, allocations: 20 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.4378, allocations: 31.98 kB / 1.348 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.4378, allocations: 11.92 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.722e-05/0.4379, allocations: 55.89 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.4381, allocations: 155.8 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4381, allocations: 0 / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4382, allocations: 0 / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.4382, allocations: 0 / 1.348 GB, free: 13.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006315/0.4388, allocations: 369.4 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4388, allocations: 8.031 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.888e-05/0.4389, allocations: 4.188 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.048e-05/0.4389, allocations: 30.75 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.439, allocations: 12.89 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.4391, allocations: 114.5 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.4391, allocations: 4.375 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.453e-05/0.4391, allocations: 12.38 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.4393, allocations: 50 kB / 1.349 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4393, allocations: 4 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.4393, allocations: 3.984 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.4393, allocations: 4 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.926e-05/0.4393, allocations: 19.92 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.4399, allocations: 331.7 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.556e-05/0.44, allocations: 30.58 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.44, allocations: 16.94 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.44, allocations: 0 / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.4402, allocations: 83.31 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.011e-06/0.4402, allocations: 0 / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.00027/0.4405, allocations: 101.6 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.4406, allocations: 55.41 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.4407, allocations: 121.8 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.4407, allocations: 33.64 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.4408, allocations: 96.08 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.4408, allocations: 16.33 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.4409, allocations: 49.67 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4411, allocations: 322.8 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.4412, allocations: 55.97 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.4414, allocations: 99.19 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.4416, allocations: 159.6 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4416, allocations: 0 / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004637/0.4421, allocations: 260.9 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/0.4422, allocations: 71.39 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4422, allocations: 0 / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.4422, allocations: 8.125 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.682e-05/0.4422, allocations: 7.922 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.4422, allocations: 4 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.4426, allocations: 51.89 kB / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.4426, allocations: 15.98 kB / 1.35 GB, free: 10.91 MB / 1.045 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 0.0001443/0.4428, allocations: 129.7 kB / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.4428, allocations: 7.953 kB / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.4428, allocations: 8.375 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4428, allocations: 0 / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4428, allocations: 0 / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4428, allocations: 4 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.443, allocations: 148.6 kB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.443, allocations: 4 kB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-06/0.443, allocations: 0 / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.443, allocations: 3.938 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.4431, allocations: 0 / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4431, allocations: 8 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4431, allocations: 64 / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.4433, allocations: 109 kB / 1.351 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.4433, allocations: 8.047 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.4433, allocations: 7.922 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.326e-05/0.4433, allocations: 4 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.4434, allocations: 4 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.4434, allocations: 7.984 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.288e-05/0.4435, allocations: 95.22 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4435, allocations: 0 / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002595/0.4437, allocations: 39.92 kB / 1.351 GB, free: 10.26 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: 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.0005728/0.4443, allocations: 0.6401 MB / 1.352 GB, free: 9.59 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003698/0.4447, allocations: 222.8 kB / 1.352 GB, free: 9.348 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4447, allocations: 0 / 1.352 GB, free: 9.348 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.4447, allocations: 27.91 kB / 1.352 GB, free: 9.32 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.445, allocations: 15.98 kB / 1.352 GB, free: 9.305 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.4472, allocations: 1.716 MB / 1.354 GB, free: 7.465 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.4475, allocations: 0.6914 MB / 1.354 GB, free: 6.75 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.377e-05/0.4476, allocations: 7.781 kB / 1.354 GB, free: 6.742 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.4476, allocations: 24 kB / 1.354 GB, free: 6.719 MB / 1.045 GB Notification: Performance of SimCode: time 7.82e-07/0.4476, allocations: 0 / 1.354 GB, free: 6.719 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.4717, allocations: 3.061 MB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.68, allocations: 5.484 kB / 1.357 GB, free: 3.809 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.403688427002635] Failed to read output from testmodel.py, exit status != 0: 11.84123192995321 11.856931578 11.415654797 Calling exit ...