Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001076/0.001076, allocations: 76.55 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.001205/0.001205, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8591/0.8591, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.755/1.755, allocations: 389.1 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.727e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.00105/0.001067, allocations: 0.64 MB / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.002097, allocations: 1.214 MB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/0.002134, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.002159, allocations: 3.938 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.514e-05/0.002225, allocations: 19.8 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.002683, allocations: 226.4 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.002846, allocations: 167.7 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.002929, allocations: 7.984 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.003037, allocations: 95.86 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.003131, allocations: 51.91 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.003156, allocations: 16 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.358e-05/0.003209, allocations: 20 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.003231, allocations: 19.91 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.202e-05/0.003283, allocations: 47.97 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.003465, allocations: 187.5 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003466, allocations: 0 / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003467, allocations: 0 / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.00347, allocations: 0 / 1.004 GB, free: 10.28 MB / 0.9636 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.0003764/0.003847, allocations: 349.6 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.003879, allocations: 12.75 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.003925, allocations: 16.88 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.72e-05/0.004002, allocations: 113.7 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.004016, allocations: 12.31 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.004035, allocations: 8.375 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.664e-05/0.004122, allocations: 54.23 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.00413, allocations: 192 / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.004141, allocations: 8.359 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.004144, allocations: 384 / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.202e-05/0.004176, allocations: 15.94 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.004492, allocations: 260.5 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.373e-05/0.004556, allocations: 38.5 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.004578, allocations: 16.86 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.004586, allocations: 0 / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.00469, allocations: 83.34 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.004691, allocations: 4 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0001916/0.004883, allocations: 117.5 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.004914, allocations: 51.41 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.00498, allocations: 121.8 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.005001, allocations: 29.7 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.005045, allocations: 92.12 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.005059, allocations: 15.91 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.005117, allocations: 45.69 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.005193, allocations: 322.8 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.005302, allocations: 111.4 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.005417, allocations: 163.7 kB / 1.006 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.005541, allocations: 163.5 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005543, allocations: 0 / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002874/0.00583, allocations: 336.2 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.005865, allocations: 63.39 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.005871, allocations: 7.984 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.005883, allocations: 4.594 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-05/0.005902, allocations: 8 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.005907, allocations: 0 / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.006093, allocations: 51.88 kB / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.006113, allocations: 11.98 kB / 1.006 GB, free: 7.336 MB / 0.9636 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 6.595e-05/0.006179, allocations: 125.7 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.006189, allocations: 15.89 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.006208, allocations: 8.438 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.006209, allocations: 4.062 kB / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.006214, allocations: 4 kB / 1.006 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.006217, allocations: 0 / 1.006 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.491e-05/0.006292, allocations: 117.3 kB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.006293, allocations: 4 kB / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-06/0.006296, allocations: 0 / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.006298, allocations: 3.938 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.006303, allocations: 0 / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.006305, allocations: 4 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006305, allocations: 4 kB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.703e-05/0.006402, allocations: 113 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.00641, allocations: 3.953 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.006425, allocations: 11.92 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/0.006439, allocations: 0 / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.006475, allocations: 11.98 kB / 1.007 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.006479, allocations: 3.984 kB / 1.007 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.979e-05/0.006509, allocations: 87.28 kB / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006509, allocations: 0 / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001603/0.00667, allocations: 35.92 kB / 1.007 GB, free: 6.73 MB / 0.9636 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.0001042/0.006774, allocations: 103.2 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.007033, allocations: 278.1 kB / 1.007 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.007034, allocations: 0 / 1.007 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.48e-05/0.007069, allocations: 27.88 kB / 1.007 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.007227, allocations: 18.14 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.007604, allocations: 183.2 kB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.824e-05/0.007642, allocations: 75.58 kB / 1.007 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.00766, allocations: 16.44 kB / 1.007 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of SimCode: time 4.01e-07/0.007661, allocations: 0 / 1.007 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of Templates: time 0.00196/0.009621, allocations: 1.396 MB / 1.009 GB, free: 4.559 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.4504421558231115]