Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.002341/0.002341, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.002721/0.002721, allocations: 161.7 kB / 23.55 MB, free: 0.875 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.652/1.652, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 2.935/2.935, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.839e-05/4.151e-05, allocations: 9.781 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001998/0.00204, allocations: 0.6563 MB / 0.787 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.00386, allocations: 1.219 MB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.003908, allocations: 0 / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.087e-05/0.003949, allocations: 4.938 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.962e-05/0.004039, allocations: 19.91 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006286/0.004667, allocations: 210.3 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000278/0.004945, allocations: 175.7 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.987e-05/0.005035, allocations: 4 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.005203, allocations: 91.88 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.005335, allocations: 48.78 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.005381, allocations: 16 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.9e-05/0.00547, allocations: 32.81 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.005497, allocations: 11.94 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.867e-05/0.005586, allocations: 50.41 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.005886, allocations: 179.5 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.005892, allocations: 4 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.393e-06/0.005893, allocations: 0 / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.005898, allocations: 0 / 0.789 GB, free: 10.09 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.0006486/0.006546, allocations: 459.5 kB / 0.7895 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.006587, allocations: 12.03 kB / 0.7895 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.559e-05/0.006663, allocations: 14.64 kB / 0.7895 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.006808, allocations: 132.4 kB / 0.7896 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.006838, allocations: 4.375 kB / 0.7896 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.006868, allocations: 8.375 kB / 0.7896 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.006988, allocations: 50.25 kB / 0.7897 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.006996, allocations: 0.7812 kB / 0.7897 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.007006, allocations: 1.688 kB / 0.7897 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.00701, allocations: 384 / 0.7897 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/0.007058, allocations: 19.92 kB / 0.7897 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.007613, allocations: 337 kB / 0.79 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.00772, allocations: 43.05 kB / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.007755, allocations: 15.69 kB / 0.7901 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.007767, allocations: 0 / 0.7901 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.007952, allocations: 86.81 kB / 0.7902 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.007953, allocations: 0 / 0.7902 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003136/0.008267, allocations: 113.8 kB / 0.7903 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.008323, allocations: 63.39 kB / 0.7903 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.00848, allocations: 179.1 kB / 0.7905 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.008517, allocations: 33.7 kB / 0.7905 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.008623, allocations: 146.8 kB / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.008651, allocations: 25.77 kB / 0.7907 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.008776, allocations: 55.34 kB / 0.7908 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002612/0.009038, allocations: 0.4884 MB / 0.7912 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.009257, allocations: 139.4 kB / 0.7914 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.009645, allocations: 185.7 kB / 0.7915 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.0099, allocations: 184.3 kB / 0.7917 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.009902, allocations: 0 / 0.7917 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005664/0.01047, allocations: 360.7 kB / 0.7921 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.758e-05/0.01054, allocations: 72.73 kB / 0.7921 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.01054, allocations: 3.984 kB / 0.7921 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.01056, allocations: 0.5312 kB / 0.7921 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.612e-05/0.01059, allocations: 4 kB / 0.7921 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.01059, allocations: 5.594 kB / 0.7921 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.0109, allocations: 35.97 kB / 0.7922 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.01094, allocations: 16.58 kB / 0.7922 GB, free: 6.527 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,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 (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.0001345/0.01107, allocations: 165.4 kB / 0.7924 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.0111, allocations: 21.03 kB / 0.7924 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.01112, allocations: 8.438 kB / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01112, allocations: 0 / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01113, allocations: 0 / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01113, allocations: 0.8438 kB / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.01127, allocations: 132.6 kB / 0.7925 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01127, allocations: 0.8438 kB / 0.7925 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.01128, allocations: 4 kB / 0.7925 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01129, allocations: 5.266 kB / 0.7925 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.0113, allocations: 3.938 kB / 0.7925 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.0113, allocations: 0 / 0.7925 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.0113, allocations: 0 / 0.7925 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.01149, allocations: 133.2 kB / 0.7926 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.0115, allocations: 3.938 kB / 0.7926 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.01152, allocations: 9.156 kB / 0.7927 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.847e-05/0.01154, allocations: 0 / 0.7927 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.01159, allocations: 11.98 kB / 0.7927 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.0116, allocations: 5.25 kB / 0.7927 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.393e-05/0.01168, allocations: 135.2 kB / 0.7928 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01168, allocations: 0 / 0.7928 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002398/0.01192, allocations: 35.95 kB / 0.7928 GB, free: 5.809 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,or1.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.0001694/0.01209, allocations: 100.9 kB / 0.7929 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.01258, allocations: 336.5 kB / 0.7933 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01258, allocations: 4 kB / 0.7933 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.989e-05/0.01264, allocations: 35.61 kB / 0.7933 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.01288, allocations: 16.92 kB / 0.7933 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.01325, allocations: 162.8 kB / 0.7935 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.604e-05/0.01333, allocations: 72.36 kB / 0.7935 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.724e-05/0.01335, allocations: 9.891 kB / 0.7935 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.01338, allocations: 12.5 kB / 0.7936 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.01338, allocations: 0 / 0.7936 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of Templates: time 0.005793/0.01917, allocations: 2.056 MB / 0.7956 GB, free: 2.984 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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: 8.255198666942306]