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.000932/0.000932, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009522/0.0009522, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9415/0.9415, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.741/1.741, allocations: 359 MB / 0.6055 GB, free: 10.87 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 1.512e-06/1.512e-06, allocations: 0 / 0.7876 GB, free: 11.09 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.68e-05, allocations: 2.312 kB / 0.7876 GB, free: 11.09 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001149/0.001166, allocations: 0.6694 MB / 0.7882 GB, free: 10.44 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.002299, allocations: 1.226 MB / 0.7894 GB, free: 9.199 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.002339, allocations: 4.844 kB / 0.7894 GB, free: 9.195 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.002363, allocations: 3.938 kB / 0.7894 GB, free: 9.191 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.539e-05/0.002429, allocations: 12.47 kB / 0.7894 GB, free: 9.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.002841, allocations: 209.2 kB / 0.7896 GB, free: 8.977 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.00299, allocations: 176.4 kB / 0.7898 GB, free: 8.805 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.836e-05/0.003058, allocations: 8 kB / 0.7898 GB, free: 8.797 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.995e-05/0.003158, allocations: 92.83 kB / 0.7899 GB, free: 8.707 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.003247, allocations: 51.84 kB / 0.79 GB, free: 8.656 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.003272, allocations: 16.66 kB / 0.79 GB, free: 8.641 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.448e-05/0.003326, allocations: 27.98 kB / 0.79 GB, free: 8.613 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/0.003354, allocations: 11.42 kB / 0.79 GB, free: 8.605 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.003399, allocations: 55.89 kB / 0.7901 GB, free: 8.551 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.003545, allocations: 131.7 kB / 0.7902 GB, free: 8.422 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003547, allocations: 0 / 0.7902 GB, free: 8.422 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003548, allocations: 0 / 0.7902 GB, free: 8.422 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.003551, allocations: 0 / 0.7902 GB, free: 8.422 MB / 0.698 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.0003198/0.003871, allocations: 467.4 kB / 0.7906 GB, free: 7.914 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.003905, allocations: 12.03 kB / 0.7906 GB, free: 7.902 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.00394, allocations: 16.89 kB / 0.7907 GB, free: 7.887 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.155e-05/0.004002, allocations: 113.2 kB / 0.7908 GB, free: 7.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.004012, allocations: 8.359 kB / 0.7908 GB, free: 7.742 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.004029, allocations: 8.969 kB / 0.7908 GB, free: 7.734 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.537e-05/0.004084, allocations: 43.88 kB / 0.7908 GB, free: 7.688 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-06/0.004089, allocations: 192 / 0.7908 GB, free: 7.688 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-06/0.004094, allocations: 384 / 0.7908 GB, free: 7.688 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.004098, allocations: 4.375 kB / 0.7908 GB, free: 7.684 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.499e-05/0.004113, allocations: 15.91 kB / 0.7908 GB, free: 7.668 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.004369, allocations: 317.7 kB / 0.7911 GB, free: 7.332 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.057e-05/0.00442, allocations: 31.06 kB / 0.7912 GB, free: 7.289 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.004434, allocations: 15.77 kB / 0.7912 GB, free: 7.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.004439, allocations: 1.594 kB / 0.7912 GB, free: 7.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.882e-05/0.004518, allocations: 85 kB / 0.7913 GB, free: 7.172 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.004519, allocations: 0 / 0.7913 GB, free: 7.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001372/0.004656, allocations: 93.5 kB / 0.7914 GB, free: 7.074 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.004681, allocations: 52.03 kB / 0.7914 GB, free: 7.012 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.172e-05/0.004753, allocations: 183.8 kB / 0.7916 GB, free: 6.816 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.004773, allocations: 29.7 kB / 0.7916 GB, free: 6.781 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.004822, allocations: 142.8 kB / 0.7918 GB, free: 6.637 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.004833, allocations: 11.91 kB / 0.7918 GB, free: 6.625 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.004889, allocations: 59.31 kB / 0.7918 GB, free: 6.559 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.004995, allocations: 496.1 kB / 0.7923 GB, free: 6.062 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.005073, allocations: 103.9 kB / 0.7924 GB, free: 5.949 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.624e-05/0.005159, allocations: 154.4 kB / 0.7925 GB, free: 5.766 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.842e-05/0.005258, allocations: 155.4 kB / 0.7927 GB, free: 5.582 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005259, allocations: 4.625 kB / 0.7927 GB, free: 5.578 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002482/0.005508, allocations: 301.4 kB / 0.793 GB, free: 5.254 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.005548, allocations: 75.33 kB / 0.7931 GB, free: 5.168 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.005553, allocations: 0.8125 kB / 0.7931 GB, free: 5.168 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.138e-06/0.005562, allocations: 64 / 0.7931 GB, free: 5.168 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.654e-05/0.005579, allocations: 8.656 kB / 0.7931 GB, free: 5.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.005583, allocations: 5.156 kB / 0.7931 GB, free: 5.156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.005722, allocations: 47.89 kB / 0.7931 GB, free: 5.109 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.00574, allocations: 12.7 kB / 0.7931 GB, free: 5.098 MB / 0.698 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 7.258e-05/0.005813, allocations: 169.7 kB / 0.7933 GB, free: 4.922 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.005822, allocations: 7.953 kB / 0.7933 GB, free: 4.914 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.005844, allocations: 12.38 kB / 0.7933 GB, free: 4.902 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.005846, allocations: 4.844 kB / 0.7933 GB, free: 4.898 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.005848, allocations: 0 / 0.7933 GB, free: 4.898 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.005852, allocations: 6.203 kB / 0.7933 GB, free: 4.895 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.077e-05/0.005923, allocations: 105.2 kB / 0.7934 GB, free: 4.766 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005923, allocations: 0 / 0.7934 GB, free: 4.766 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-06/0.005928, allocations: 4 kB / 0.7934 GB, free: 4.762 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005929, allocations: 4 kB / 0.7934 GB, free: 4.758 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.005933, allocations: 0 / 0.7934 GB, free: 4.758 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.005934, allocations: 2.781 kB / 0.7934 GB, free: 4.758 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.005936, allocations: 3.938 kB / 0.7934 GB, free: 4.754 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.887e-05/0.006025, allocations: 112.3 kB / 0.7935 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-06/0.006032, allocations: 4 kB / 0.7935 GB, free: 4.617 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.006041, allocations: 4 kB / 0.7935 GB, free: 4.613 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-06/0.006051, allocations: 0 / 0.7935 GB, free: 4.613 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.006076, allocations: 11.92 kB / 0.7936 GB, free: 4.602 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.006079, allocations: 1.469 kB / 0.7936 GB, free: 4.602 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.006116, allocations: 139.2 kB / 0.7937 GB, free: 4.465 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.006117, allocations: 0 / 0.7937 GB, free: 4.465 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001459/0.006262, allocations: 31.95 kB / 0.7937 GB, free: 4.434 MB / 0.698 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.0001001/0.006363, allocations: 100.3 kB / 0.7938 GB, free: 4.328 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.006554, allocations: 271.1 kB / 0.7941 GB, free: 4.023 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.006555, allocations: 0 / 0.7941 GB, free: 4.023 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.006579, allocations: 27.61 kB / 0.7941 GB, free: 3.992 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.006717, allocations: 22.98 kB / 0.7941 GB, free: 3.973 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.00692, allocations: 147.9 kB / 0.7943 GB, free: 3.793 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.008e-05/0.00695, allocations: 60.17 kB / 0.7943 GB, free: 3.715 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.81e-05/0.006969, allocations: 8.984 kB / 0.7943 GB, free: 3.707 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/0.007063, allocations: 98.17 kB / 0.7944 GB, free: 3.609 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/0.007063, allocations: 0 / 0.7944 GB, free: 3.609 MB / 0.698 GB Notification: Performance of Templates: time 0.003288/0.01035, allocations: 2.245 MB / 0.7966 GB, free: 1.434 MB / 0.698 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: 4.7360992562025785]