Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008915/0.0008915, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008568/0.0008568, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8932/0.8932, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.802/1.802, allocations: 377.9 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/3.124e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001845/0.001877, allocations: 0.6452 MB / 0.9828 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.003412, allocations: 1.213 MB / 0.984 GB, free: 200 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.00346, allocations: 4 kB / 0.984 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.003494, allocations: 3.938 kB / 0.984 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.726e-05/0.003571, allocations: 7.938 kB / 0.984 GB, free: 184 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.004219, allocations: 215.8 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.004417, allocations: 179.7 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.004507, allocations: 7.984 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.004618, allocations: 95.86 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.004718, allocations: 51.91 kB / 0.9846 GB, free: 15.65 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.004744, allocations: 16 kB / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.899e-05/0.004803, allocations: 23.98 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.004824, allocations: 11.94 kB / 0.9846 GB, free: 15.6 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.004879, allocations: 43.95 kB / 0.9847 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.00508, allocations: 187.5 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.005082, allocations: 0 / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.332e-06/0.005084, allocations: 4 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.005088, allocations: 3.938 kB / 0.9848 GB, free: 15.36 MB / 0.948 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.0004101/0.005498, allocations: 357.5 kB / 0.9852 GB, free: 14.97 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.005535, allocations: 12.03 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.005583, allocations: 12.89 kB / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.282e-05/0.005656, allocations: 109.7 kB / 0.9853 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.00567, allocations: 8.375 kB / 0.9853 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.00569, allocations: 12.38 kB / 0.9853 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.128e-05/0.005781, allocations: 46.23 kB / 0.9854 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.005788, allocations: 192 / 0.9854 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.005798, allocations: 4.375 kB / 0.9854 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.005803, allocations: 8.375 kB / 0.9854 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.172e-05/0.005835, allocations: 19.81 kB / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.006174, allocations: 272.5 kB / 0.9857 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.893e-05/0.006243, allocations: 34.56 kB / 0.9857 GB, free: 14.37 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.006264, allocations: 8.859 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.006273, allocations: 8.031 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.006403, allocations: 87.23 kB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.006404, allocations: 0 / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.000196/0.0066, allocations: 105.6 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.006632, allocations: 55.41 kB / 0.986 GB, free: 14.08 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.795e-05/0.0067, allocations: 113.8 kB / 0.9861 GB, free: 13.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.006722, allocations: 33.69 kB / 0.9861 GB, free: 13.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.006772, allocations: 100.1 kB / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.006788, allocations: 15.84 kB / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.006849, allocations: 49.69 kB / 0.9863 GB, free: 13.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.006926, allocations: 322.8 kB / 0.9866 GB, free: 13.42 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.007046, allocations: 123.4 kB / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.007165, allocations: 155.7 kB / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.0073, allocations: 155.6 kB / 0.987 GB, free: 12.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.007303, allocations: 0 / 0.987 GB, free: 12.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000304/0.007607, allocations: 328.7 kB / 0.9873 GB, free: 12.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.007648, allocations: 71.33 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.007653, allocations: 0 / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.007665, allocations: 4 kB / 0.9874 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.56e-05/0.007681, allocations: 0 / 0.9874 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.007688, allocations: 8.375 kB / 0.9874 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.007887, allocations: 59.89 kB / 0.9874 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.007908, allocations: 11.98 kB / 0.9874 GB, free: 12.41 MB / 0.948 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 7.223e-05/0.007981, allocations: 117.8 kB / 0.9875 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.007993, allocations: 11.89 kB / 0.9876 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.008014, allocations: 12.42 kB / 0.9876 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.008017, allocations: 4 kB / 0.9876 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.008021, allocations: 4 kB / 0.9876 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.008024, allocations: 0 / 0.9876 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.406e-05/0.008098, allocations: 117.3 kB / 0.9877 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.0081, allocations: 64 / 0.9877 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.593e-06/0.008106, allocations: 8 kB / 0.9877 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.008109, allocations: 3.938 kB / 0.9877 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.008115, allocations: 0 / 0.9877 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.008122, allocations: 7.969 kB / 0.9877 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008123, allocations: 3.938 kB / 0.9877 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.008228, allocations: 117 kB / 0.9878 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-06/0.008236, allocations: 7.922 kB / 0.9878 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.008248, allocations: 11.94 kB / 0.9878 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.328e-05/0.008262, allocations: 0 / 0.9878 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.008292, allocations: 7.984 kB / 0.9879 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.008297, allocations: 4 kB / 0.9879 GB, free: 11.93 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.622e-05/0.008333, allocations: 91.27 kB / 0.9879 GB, free: 11.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008333, allocations: 0 / 0.9879 GB, free: 11.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001658/0.008499, allocations: 28 kB / 0.988 GB, free: 11.81 MB / 0.948 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.00012/0.008619, allocations: 102.7 kB / 0.9881 GB, free: 11.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.008877, allocations: 282.1 kB / 0.9883 GB, free: 11.39 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.008879, allocations: 0 / 0.9883 GB, free: 11.39 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.008916, allocations: 27.92 kB / 0.9884 GB, free: 11.36 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.009101, allocations: 20.2 kB / 0.9884 GB, free: 11.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.009384, allocations: 187.2 kB / 0.9886 GB, free: 11.12 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.24e-05/0.009426, allocations: 67.59 kB / 0.9886 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.009446, allocations: 16.75 kB / 0.9886 GB, free: 11.02 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.009447, allocations: 0 / 0.9886 GB, free: 11.02 MB / 0.948 GB Notification: Performance of Templates: time 0.002155/0.0116, allocations: 1.406 MB / 0.99 GB, free: 9.629 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.653174738399684]