Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001913/0.001913, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.001994/0.001994, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.545/1.545, allocations: 177.1 MB / 203.9 MB, free: 5.594 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 3.08/3.08, allocations: 359 MB / 0.6048 GB, free: 10.96 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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.574e-06/2.574e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.845e-05, allocations: 6.312 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001842/0.001871, allocations: 0.649 MB / 0.787 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.003729, allocations: 1.219 MB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.003777, allocations: 0 / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.003802, allocations: 4.5 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.975e-05/0.003892, allocations: 17.11 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006616/0.004554, allocations: 208.9 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.004841, allocations: 171.7 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.00493, allocations: 9.156 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.005098, allocations: 95.86 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.005238, allocations: 47.91 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.005284, allocations: 16.62 kB / 0.7888 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.005376, allocations: 31.98 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.005399, allocations: 9.328 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.507e-05/0.005494, allocations: 51.95 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.005797, allocations: 183.5 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.005801, allocations: 0 / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/0.005802, allocations: 1.031 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.005808, allocations: 0 / 0.789 GB, free: 10.08 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.0008138/0.006621, allocations: 463.5 kB / 0.7895 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.006659, allocations: 8.969 kB / 0.7895 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.825e-05/0.006737, allocations: 16.89 kB / 0.7895 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.006865, allocations: 117.6 kB / 0.7896 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.006887, allocations: 12.38 kB / 0.7896 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.006921, allocations: 12.31 kB / 0.7896 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.007034, allocations: 43.53 kB / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.007043, allocations: 192 / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.007061, allocations: 12.34 kB / 0.7897 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.007065, allocations: 384 / 0.7897 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.442e-05/0.00711, allocations: 18.91 kB / 0.7897 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.007652, allocations: 327.7 kB / 0.79 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.007753, allocations: 46.98 kB / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.007789, allocations: 15.69 kB / 0.7901 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.0078, allocations: 0 / 0.7901 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.007969, allocations: 97 kB / 0.7902 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.007971, allocations: 0.7188 kB / 0.7902 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003054/0.008276, allocations: 121.8 kB / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.008324, allocations: 53.06 kB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.008506, allocations: 181.9 kB / 0.7905 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.008543, allocations: 29.7 kB / 0.7905 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.008655, allocations: 146.8 kB / 0.7907 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.008677, allocations: 15.84 kB / 0.7907 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.008792, allocations: 60.53 kB / 0.7908 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002667/0.009058, allocations: 0.4923 MB / 0.7912 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.009266, allocations: 131.4 kB / 0.7914 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.009524, allocations: 187.4 kB / 0.7915 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.009778, allocations: 183.4 kB / 0.7917 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.00978, allocations: 0 / 0.7917 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005956/0.01038, allocations: 373.1 kB / 0.7921 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.002e-05/0.01046, allocations: 63.39 kB / 0.7921 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.01046, allocations: 4 kB / 0.7921 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.01048, allocations: 0.5312 kB / 0.7921 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.473e-05/0.0105, allocations: 8.688 kB / 0.7921 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.01051, allocations: 0 / 0.7921 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.0108, allocations: 37.81 kB / 0.7922 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.01083, allocations: 11.98 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,and1.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.0001449/0.01098, allocations: 169 kB / 0.7924 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.011, allocations: 21.25 kB / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.01103, allocations: 8.438 kB / 0.7924 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01103, allocations: 0 / 0.7924 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01104, allocations: 0 / 0.7924 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01104, allocations: 1.156 kB / 0.7924 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.01119, allocations: 132.6 kB / 0.7925 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.01119, allocations: 0 / 0.7925 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.186e-05/0.0112, allocations: 5.109 kB / 0.7925 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.0112, allocations: 4 kB / 0.7925 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.01121, allocations: 3.938 kB / 0.7925 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01121, allocations: 1.75 kB / 0.7925 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01121, allocations: 0 / 0.7925 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.01143, allocations: 124.3 kB / 0.7926 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.01144, allocations: 15.88 kB / 0.7927 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.01146, allocations: 3.938 kB / 0.7927 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.918e-05/0.01148, allocations: 1.344 kB / 0.7927 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.01152, allocations: 8.047 kB / 0.7927 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.01153, allocations: 8 kB / 0.7927 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.379e-05/0.01163, allocations: 140 kB / 0.7928 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01163, allocations: 0 / 0.7928 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002413/0.01187, allocations: 31.95 kB / 0.7928 GB, free: 5.805 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,and1.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.0002111/0.01208, allocations: 105.3 kB / 0.7929 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005254/0.0126, allocations: 333.8 kB / 0.7933 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.01261, allocations: 0.6562 kB / 0.7933 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.665e-05/0.01267, allocations: 35.61 kB / 0.7933 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.01292, allocations: 24.17 kB / 0.7933 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.01333, allocations: 165.4 kB / 0.7935 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.233e-05/0.0134, allocations: 67.34 kB / 0.7935 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.736e-05/0.01343, allocations: 4 kB / 0.7935 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.01346, allocations: 17.02 kB / 0.7936 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.01346, allocations: 0.5625 kB / 0.7936 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of Templates: time 0.005884/0.01935, allocations: 2.049 MB / 0.7956 GB, free: 2.992 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.13166007399559]