Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 119.9 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 443.5 MB / 0.7293 GB, free: 14.46 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 68.12 kB / 1.057 GB, free: 1.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3107, allocations: 160.7 MB / 1.214 GB, free: 0.8906 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.0021/0.3128, allocations: 0.7088 MB / 1.215 GB, free: 180 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.3146, allocations: 1.269 MB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.3147, allocations: 0 / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.3147, allocations: 3.938 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.968e-05/0.3148, allocations: 19.84 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009662/0.3158, allocations: 313.1 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.3162, allocations: 259.5 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.982e-05/0.3163, allocations: 12.17 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.3165, allocations: 99.86 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.3167, allocations: 95.67 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.579e-05/0.3168, allocations: 24 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.3169, allocations: 39.98 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.3169, allocations: 11.98 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.317, allocations: 91.67 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.3174, allocations: 227.3 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3174, allocations: 0 / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3174, allocations: 0 / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3174, allocations: 0 / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007159/0.3181, allocations: 492.2 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3181, allocations: 8.031 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.456e-05/0.3182, allocations: 20.88 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3184, allocations: 182.9 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.3184, allocations: 8.375 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.3184, allocations: 16.38 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.3186, allocations: 58.17 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3186, allocations: 3.938 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3186, allocations: 7.984 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3186, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.758e-05/0.3187, allocations: 16 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006278/0.3193, allocations: 416.5 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.803e-05/0.3194, allocations: 34.5 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.3194, allocations: 20.86 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.3195, allocations: 3.938 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.3196, allocations: 103.5 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.3196, allocations: 0 / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0003308/0.32, allocations: 141.8 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.32, allocations: 55.41 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.3201, allocations: 137.9 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.3202, allocations: 37.64 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.3203, allocations: 100.1 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.3203, allocations: 19.86 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.3204, allocations: 65.67 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3206, allocations: 326.8 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.3208, allocations: 87.95 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.321, allocations: 134 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.3214, allocations: 238.9 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3214, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006522/0.322, allocations: 378.4 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.72e-05/0.3221, allocations: 101.1 kB / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3221, allocations: 8.188 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3221, allocations: 0 / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.67e-05/0.3222, allocations: 4 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3222, allocations: 7.938 kB / 1.22 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.3227, allocations: 83.8 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.3227, allocations: 15.98 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,or1.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001441/0.3229, allocations: 141.8 kB / 1.22 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.3229, allocations: 7.953 kB / 1.22 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.3229, allocations: 8.375 kB / 1.22 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3229, allocations: 4 kB / 1.22 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3229, allocations: 0 / 1.22 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3229, allocations: 0 / 1.22 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.3231, allocations: 189.6 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3231, allocations: 0 / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.259e-05/0.3231, allocations: 8 kB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3231, allocations: 0 / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3231, allocations: 7.938 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3231, allocations: 0 / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3231, allocations: 0 / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.3233, allocations: 144.9 kB / 1.221 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.3234, allocations: 92.95 kB / 1.221 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.3234, allocations: 0 / 1.221 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.088e-05/0.3234, allocations: 11.98 kB / 1.221 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.3235, allocations: 8.078 kB / 1.221 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3235, allocations: 15.92 kB / 1.221 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.645e-05/0.3236, allocations: 97.94 kB / 1.221 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3236, allocations: 0 / 1.221 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002761/0.3238, allocations: 44 kB / 1.221 GB, free: 9.262 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001721/0.324, allocations: 107.2 kB / 1.221 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005189/0.3245, allocations: 334 kB / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3245, allocations: 0 / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.3246, allocations: 31.98 kB / 1.222 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.3249, allocations: 29.22 kB / 1.222 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.3253, allocations: 216.4 kB / 1.222 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.3257, allocations: 0.6966 MB / 1.222 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.3258, allocations: 15.44 kB / 1.222 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of SimCode: time 3.7e-07/0.3258, allocations: 0 / 1.222 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of Templates: time 0.004633/0.3304, allocations: 1.876 MB / 1.224 GB, free: 5.879 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.209357399027795]