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.0009428/0.0009428, allocations: 83.59 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.000999/0.000999, allocations: 165 kB / 23.82 MB, free: 0.7461 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 1.017/1.017, allocations: 177.1 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.891/1.891, 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 2.755e-06/2.755e-06, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.939e-05, allocations: 2.312 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.00143/0.001459, allocations: 0.6622 MB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.002671, allocations: 1.238 MB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.00271, allocations: 1.906 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.00274, allocations: 7.875 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.305e-05/0.002813, allocations: 11.88 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.003299, allocations: 208.1 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.003476, allocations: 172.5 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.003591, allocations: 9.219 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.003699, allocations: 95.84 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.003804, allocations: 55.91 kB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.003832, allocations: 13.41 kB / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-05/0.003896, allocations: 24 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.00392, allocations: 11.92 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.00398, allocations: 47.95 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.004161, allocations: 140.7 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.004165, allocations: 3.984 kB / 0.7897 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004166, allocations: 4 kB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.004171, allocations: 1.531 kB / 0.7898 GB, free: 9.738 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.0004425/0.004613, allocations: 459.8 kB / 0.7902 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.004651, allocations: 8.031 kB / 0.7902 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.004705, allocations: 16.89 kB / 0.7902 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.134e-05/0.004787, allocations: 122.1 kB / 0.7903 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.0048, allocations: 4.375 kB / 0.7903 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.004825, allocations: 16.31 kB / 0.7904 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.079e-05/0.004906, allocations: 42.23 kB / 0.7904 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.004914, allocations: 1.938 kB / 0.7904 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.004923, allocations: 384 / 0.7904 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.004929, allocations: 384 / 0.7904 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.539e-05/0.004955, allocations: 15.94 kB / 0.7904 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.005313, allocations: 326.2 kB / 0.7907 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.075e-05/0.005383, allocations: 42.98 kB / 0.7908 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.005405, allocations: 11.69 kB / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.005412, allocations: 0 / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.005521, allocations: 89.05 kB / 0.7909 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.005522, allocations: 0 / 0.7909 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001944/0.005716, allocations: 106.4 kB / 0.791 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.005748, allocations: 55.41 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.62e-05/0.005835, allocations: 179.5 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.005856, allocations: 29.7 kB / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.005909, allocations: 138.9 kB / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.005921, allocations: 7.906 kB / 0.7914 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.005984, allocations: 60.66 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002488/0.006233, allocations: 0.4922 MB / 0.7919 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.006339, allocations: 107.4 kB / 0.792 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.006466, allocations: 161.8 kB / 0.7921 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.006592, allocations: 160.2 kB / 0.7923 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.006595, allocations: 0 / 0.7923 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003063/0.006901, allocations: 329.9 kB / 0.7926 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.006945, allocations: 67.39 kB / 0.7927 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.006951, allocations: 0 / 0.7927 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.006969, allocations: 4 kB / 0.7927 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.849e-05/0.006988, allocations: 4.625 kB / 0.7927 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.006995, allocations: 4.906 kB / 0.7927 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.007163, allocations: 37.89 kB / 0.7927 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.007184, allocations: 12 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 7.778e-05/0.007262, allocations: 176.4 kB / 0.7929 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.007274, allocations: 11.89 kB / 0.7929 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.007298, allocations: 10.59 kB / 0.7929 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.0073, allocations: 0 / 0.7929 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.007303, allocations: 0 / 0.7929 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.007308, allocations: 7.984 kB / 0.7929 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.497e-05/0.007393, allocations: 128.6 kB / 0.7931 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007394, allocations: 0 / 0.7931 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-06/0.007399, allocations: 0.5312 kB / 0.7931 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.007402, allocations: 4.719 kB / 0.7931 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.007411, allocations: 3.938 kB / 0.7931 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.007412, allocations: 0.5312 kB / 0.7931 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007412, allocations: 1.594 kB / 0.7931 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.00752, allocations: 120.3 kB / 0.7932 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.007529, allocations: 11.95 kB / 0.7932 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.007541, allocations: 3.938 kB / 0.7932 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.671e-05/0.007558, allocations: 8.047 kB / 0.7932 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.007592, allocations: 4.531 kB / 0.7932 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.007598, allocations: 8.891 kB / 0.7932 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.78e-05/0.007636, allocations: 127.2 kB / 0.7933 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007636, allocations: 4 kB / 0.7933 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001662/0.007802, allocations: 28.84 kB / 0.7934 GB, free: 5.652 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.0001322/0.007934, allocations: 112.4 kB / 0.7935 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.008181, allocations: 274.3 kB / 0.7937 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.008182, allocations: 0.75 kB / 0.7937 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.344e-05/0.008215, allocations: 35.61 kB / 0.7938 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.008392, allocations: 14.42 kB / 0.7938 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.00867, allocations: 158.7 kB / 0.7939 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.073e-05/0.008701, allocations: 56.23 kB / 0.794 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.32e-05/0.008724, allocations: 7.984 kB / 0.794 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.008746, allocations: 15.97 kB / 0.794 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.008747, allocations: 0 / 0.794 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of Templates: time 0.003719/0.01247, allocations: 2.054 MB / 0.796 GB, free: 2.906 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.313794041983783]