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.001233/0.001233, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.001635/0.001635, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 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 0.97/0.97, allocations: 177.2 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.787/1.787, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.48e-06/5.48e-06, allocations: 4 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.742e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001429/0.001467, allocations: 0.667 MB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.002709, allocations: 1.23 MB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.002752, allocations: 0.8438 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.002785, allocations: 7.938 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.668e-05/0.002862, allocations: 9.172 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.00338, allocations: 212.9 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.003577, allocations: 175.7 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.003675, allocations: 13.05 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.003789, allocations: 87.92 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.003898, allocations: 51.86 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.003927, allocations: 16.62 kB / 0.7895 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.561e-05/0.003993, allocations: 29.38 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.004016, allocations: 8 kB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.004078, allocations: 55.88 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.004268, allocations: 135.6 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.004274, allocations: 1.094 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.512e-06/0.004275, allocations: 0 / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.004281, allocations: 0 / 0.7897 GB, free: 9.746 MB / 0.7448 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.0004906/0.004772, allocations: 464.9 kB / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.004816, allocations: 12.03 kB / 0.7902 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/0.00489, allocations: 12.89 kB / 0.7902 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.004995, allocations: 125.6 kB / 0.7903 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.005009, allocations: 4.375 kB / 0.7903 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.005031, allocations: 12.38 kB / 0.7904 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.005133, allocations: 43.89 kB / 0.7904 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.005142, allocations: 192 / 0.7904 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.005158, allocations: 4.375 kB / 0.7904 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.005167, allocations: 384 / 0.7904 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.649e-05/0.005193, allocations: 17.52 kB / 0.7904 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.005595, allocations: 327.6 kB / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.647e-05/0.005671, allocations: 35.06 kB / 0.7908 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.005696, allocations: 15.77 kB / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.005704, allocations: 1.375 kB / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.005815, allocations: 80.97 kB / 0.7909 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.005817, allocations: 0 / 0.7909 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002004/0.006017, allocations: 104.7 kB / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.006057, allocations: 55.41 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.006149, allocations: 181.9 kB / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.006171, allocations: 29.7 kB / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/0.006226, allocations: 134.9 kB / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.006239, allocations: 11.91 kB / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.006301, allocations: 55.34 kB / 0.7914 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.006411, allocations: 0.4884 MB / 0.7919 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.006519, allocations: 112.1 kB / 0.792 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.006636, allocations: 161.7 kB / 0.7921 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.006762, allocations: 163.7 kB / 0.7923 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.006765, allocations: 1.156 kB / 0.7923 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002976/0.007062, allocations: 321.4 kB / 0.7926 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.364e-05/0.007116, allocations: 67.39 kB / 0.7927 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.007122, allocations: 7.938 kB / 0.7927 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.007136, allocations: 1.75 kB / 0.7927 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.179e-05/0.007157, allocations: 4 kB / 0.7927 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.007165, allocations: 8 kB / 0.7927 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.007344, allocations: 45.14 kB / 0.7927 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.007366, allocations: 11.98 kB / 0.7927 GB, free: 6.359 MB / 0.7448 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 8.701e-05/0.007453, allocations: 169 kB / 0.7929 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.007467, allocations: 13.55 kB / 0.7929 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.007496, allocations: 8.438 kB / 0.7929 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.0075, allocations: 7.984 kB / 0.7929 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.007504, allocations: 0 / 0.7929 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.007509, allocations: 3.984 kB / 0.7929 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.534e-05/0.007604, allocations: 130.4 kB / 0.7931 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.007606, allocations: 0 / 0.7931 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.193e-06/0.007613, allocations: 4 kB / 0.7931 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.007615, allocations: 0 / 0.7931 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.007623, allocations: 3.938 kB / 0.7931 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007625, allocations: 0.8125 kB / 0.7931 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.007627, allocations: 4 kB / 0.7931 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.007742, allocations: 116.8 kB / 0.7932 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.007754, allocations: 12.66 kB / 0.7932 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.007766, allocations: 7.938 kB / 0.7932 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/0.00778, allocations: 0.5312 kB / 0.7932 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.00782, allocations: 3.984 kB / 0.7932 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.007826, allocations: 5.312 kB / 0.7932 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.007869, allocations: 135.2 kB / 0.7933 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007869, allocations: 0 / 0.7933 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001688/0.008038, allocations: 32.81 kB / 0.7934 GB, free: 5.656 MB / 0.7448 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.0001436/0.008181, allocations: 96.19 kB / 0.7935 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.008426, allocations: 279.1 kB / 0.7937 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.008429, allocations: 7.938 kB / 0.7937 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.00846, allocations: 27.67 kB / 0.7938 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.008642, allocations: 17.23 kB / 0.7938 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.008936, allocations: 158.7 kB / 0.7939 GB, free: 5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.597e-05/0.008972, allocations: 67.28 kB / 0.794 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.008998, allocations: 4 kB / 0.794 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.009019, allocations: 9.25 kB / 0.794 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of SimCode: time 6.62e-07/0.00902, allocations: 4 kB / 0.794 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of Templates: time 0.003931/0.01295, allocations: 2.253 MB / 0.7962 GB, free: 2.727 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.146247508004308]