Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00128/0.00128, 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.002203/0.002203, allocations: 214.1 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 8.07 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.794/2.794, allocations: 476.7 MB / 0.7714 GB, free: 4.344 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.Nor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_11_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.002016/0.002016, allocations: 62.12 kB / 1.118 GB, free: 39.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3793, allocations: 169.9 MB / 1.284 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002798/0.3821, allocations: 0.6694 MB / 1.285 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002304/0.3844, allocations: 1.219 MB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.3845, allocations: 0 / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.3845, allocations: 3.938 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.554e-05/0.3846, allocations: 19.91 kB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008496/0.3855, allocations: 222.5 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.3858, allocations: 167.7 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3859, allocations: 7.984 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.386, allocations: 71.89 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.3862, allocations: 63.84 kB / 1.287 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.3862, allocations: 16 kB / 1.287 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3863, allocations: 31.98 kB / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.3863, allocations: 7.938 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.3865, allocations: 59.81 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.3868, allocations: 151.2 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3868, allocations: 0 / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3868, allocations: 0 / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.3868, allocations: 0 / 1.287 GB, free: 8.945 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008141/0.3876, allocations: 363.8 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/0.3877, allocations: 8.031 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.6e-05/0.3877, allocations: 4.188 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.3878, allocations: 46.67 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.738e-05/0.3879, allocations: 8.938 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.388, allocations: 106.5 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.388, allocations: 8.375 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.3881, allocations: 12.38 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.3882, allocations: 49.98 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3883, allocations: 3.938 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.3883, allocations: 0 / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.3883, allocations: 8 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.201e-05/0.3883, allocations: 19.92 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006848/0.389, allocations: 319.8 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.3891, allocations: 38.48 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.3892, allocations: 12.86 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-06/0.3892, allocations: 4 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.3894, allocations: 91.34 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3894, allocations: 0 / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003547/0.3898, allocations: 101.6 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.3899, allocations: 55.41 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.39, allocations: 117.8 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.3901, allocations: 33.7 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/0.3902, allocations: 88.12 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.3902, allocations: 19.91 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.3903, allocations: 49.69 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.3905, allocations: 326.7 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.3907, allocations: 59.97 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.391, allocations: 92.25 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.3912, allocations: 156.1 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3912, allocations: 4 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006622/0.3919, allocations: 272.8 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.891e-05/0.392, allocations: 67.39 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.392, allocations: 0 / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.392, allocations: 8.125 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.439e-05/0.3921, allocations: 0 / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.3921, allocations: 7.938 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.3925, allocations: 55.89 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.3926, allocations: 11.98 kB / 1.289 GB, free: 6.094 MB / 0.9825 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.0001641/0.3927, allocations: 125.8 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.3927, allocations: 7.984 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.3928, allocations: 8.375 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3928, allocations: 4 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3928, allocations: 0 / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3928, allocations: 0 / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.393, allocations: 148.6 kB / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.393, allocations: 0 / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.393, allocations: 3.984 kB / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.393, allocations: 0 / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.393, allocations: 11.94 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.393, allocations: 4 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.393, allocations: 320 / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.3933, allocations: 116.9 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.3933, allocations: 3.953 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.3933, allocations: 4 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.746e-05/0.3933, allocations: 4 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.3934, allocations: 3.984 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3934, allocations: 4 kB / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.412e-05/0.3935, allocations: 95.27 kB / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3935, allocations: 0 / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003555/0.3938, allocations: 35.94 kB / 1.29 GB, free: 5.453 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: 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.0006904/0.3945, allocations: 0.6478 MB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004922/0.395, allocations: 222.7 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.395, allocations: 3.938 kB / 1.291 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.382e-05/0.3951, allocations: 20 kB / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.3954, allocations: 14.36 kB / 1.291 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.3984, allocations: 1.725 MB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.3988, allocations: 0.6807 MB / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.729e-05/0.3988, allocations: 4 kB / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.3989, allocations: 27.42 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.3989, allocations: 0 / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.4249, allocations: 3.06 MB / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.9, allocations: 9.125 kB / 1.296 GB, free: 15.01 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.791154515987728] Failed to read output from testmodel.py, exit status != 0: 12.674606121028773 12.092653065 11.700196795 Calling exit ...