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.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.001711/0.001711, allocations: 110 kB / 18.93 MB, free: 2.945 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.002022/0.002022, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.407/1.407, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.205/3.205, allocations: 0.4893 GB / 0.7884 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.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 0.001958/0.001958, allocations: 69.27 kB / 1.145 GB, free: 30.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3721, allocations: 174.9 MB / 1.316 GB, free: 9.703 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002061/0.3741, allocations: 0.6566 MB / 1.317 GB, free: 9.047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3758, allocations: 1.194 MB / 1.318 GB, free: 7.84 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.908e-05/0.3759, allocations: 4 kB / 1.318 GB, free: 7.836 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.3759, allocations: 3.938 kB / 1.318 GB, free: 7.832 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.773e-05/0.376, allocations: 11.88 kB / 1.318 GB, free: 7.82 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007124/0.3767, allocations: 209.7 kB / 1.318 GB, free: 7.621 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.377, allocations: 179.7 kB / 1.318 GB, free: 7.445 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.314e-05/0.3771, allocations: 15.97 kB / 1.318 GB, free: 7.43 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.3772, allocations: 63.91 kB / 1.318 GB, free: 7.367 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.3774, allocations: 59.84 kB / 1.318 GB, free: 7.309 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.3774, allocations: 16 kB / 1.318 GB, free: 7.293 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.395e-05/0.3775, allocations: 27.98 kB / 1.318 GB, free: 7.266 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.3775, allocations: 11.98 kB / 1.318 GB, free: 7.254 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.862e-05/0.3776, allocations: 59.83 kB / 1.318 GB, free: 7.195 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.3779, allocations: 155.5 kB / 1.319 GB, free: 7.043 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3779, allocations: 0 / 1.319 GB, free: 7.043 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3779, allocations: 4 kB / 1.319 GB, free: 7.039 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3779, allocations: 0 / 1.319 GB, free: 7.039 MB / 1.014 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.0005923/0.3785, allocations: 361.5 kB / 1.319 GB, free: 6.641 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3785, allocations: 8.031 kB / 1.319 GB, free: 6.633 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.3786, allocations: 16.83 kB / 1.319 GB, free: 6.617 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3787, allocations: 110.5 kB / 1.319 GB, free: 6.484 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.3787, allocations: 4.375 kB / 1.319 GB, free: 6.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.3788, allocations: 16.38 kB / 1.319 GB, free: 6.465 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3789, allocations: 46.23 kB / 1.319 GB, free: 6.414 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3789, allocations: 8.125 kB / 1.319 GB, free: 6.406 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3789, allocations: 3.938 kB / 1.319 GB, free: 6.402 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3789, allocations: 0 / 1.319 GB, free: 6.402 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.691e-05/0.379, allocations: 15.98 kB / 1.319 GB, free: 6.387 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.3795, allocations: 323.8 kB / 1.32 GB, free: 6.027 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.606e-05/0.3796, allocations: 34.5 kB / 1.32 GB, free: 5.984 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.3796, allocations: 12.86 kB / 1.32 GB, free: 5.969 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.3797, allocations: 7.938 kB / 1.32 GB, free: 5.961 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.3798, allocations: 83.45 kB / 1.32 GB, free: 5.867 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.3798, allocations: 0 / 1.32 GB, free: 5.867 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0002634/0.3801, allocations: 101.6 kB / 1.32 GB, free: 5.762 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.3801, allocations: 59.34 kB / 1.32 GB, free: 5.691 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.3803, allocations: 117.8 kB / 1.32 GB, free: 5.566 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.3803, allocations: 33.7 kB / 1.32 GB, free: 5.527 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/0.3804, allocations: 96.12 kB / 1.32 GB, free: 5.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.3804, allocations: 11.91 kB / 1.32 GB, free: 5.418 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-05/0.3805, allocations: 45.69 kB / 1.32 GB, free: 5.367 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3807, allocations: 326.8 kB / 1.32 GB, free: 5.039 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3808, allocations: 59.97 kB / 1.32 GB, free: 4.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.381, allocations: 92.25 kB / 1.321 GB, free: 4.875 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.3812, allocations: 160 kB / 1.321 GB, free: 4.691 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3812, allocations: 0 / 1.321 GB, free: 4.691 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004696/0.3817, allocations: 272.8 kB / 1.321 GB, free: 4.406 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.109e-05/0.3818, allocations: 75.52 kB / 1.321 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3818, allocations: 0 / 1.321 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3818, allocations: 4 kB / 1.321 GB, free: 4.316 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.372e-05/0.3818, allocations: 3.938 kB / 1.321 GB, free: 4.312 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3818, allocations: 4.312 kB / 1.321 GB, free: 4.309 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.3822, allocations: 51.94 kB / 1.321 GB, free: 4.258 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.3822, allocations: 11.98 kB / 1.321 GB, free: 4.246 MB / 1.014 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.0001257/0.3823, allocations: 133.3 kB / 1.321 GB, free: 4.109 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.3823, allocations: 11.94 kB / 1.321 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.3824, allocations: 8.375 kB / 1.321 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.3824, allocations: 3.984 kB / 1.321 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3824, allocations: 0 / 1.321 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3824, allocations: 0 / 1.321 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.3826, allocations: 144.7 kB / 1.321 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.3826, allocations: 7.984 kB / 1.321 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.215e-05/0.3826, allocations: 11.94 kB / 1.321 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3826, allocations: 4 kB / 1.321 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.3826, allocations: 0 / 1.321 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3826, allocations: 0 / 1.321 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3826, allocations: 7.984 kB / 1.321 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.3828, allocations: 105 kB / 1.322 GB, free: 3.746 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.3828, allocations: 11.95 kB / 1.322 GB, free: 3.734 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.3828, allocations: 0 / 1.322 GB, free: 3.734 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.846e-05/0.3828, allocations: 0 / 1.322 GB, free: 3.734 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.3828, allocations: 11.98 kB / 1.322 GB, free: 3.723 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.3829, allocations: 4 kB / 1.322 GB, free: 3.719 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.37e-05/0.3829, allocations: 95.2 kB / 1.322 GB, free: 3.625 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3829, allocations: 0 / 1.322 GB, free: 3.625 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000238/0.3832, allocations: 31.94 kB / 1.322 GB, free: 3.594 MB / 1.014 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.0001683/0.3833, allocations: 107.2 kB / 1.322 GB, free: 3.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.3837, allocations: 222.6 kB / 1.322 GB, free: 3.238 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3837, allocations: 4.25 kB / 1.322 GB, free: 3.234 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.3837, allocations: 16 kB / 1.322 GB, free: 3.219 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.384, allocations: 19.92 kB / 1.322 GB, free: 3.199 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.3844, allocations: 150.8 kB / 1.322 GB, free: 3.023 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.3848, allocations: 0.6923 MB / 1.323 GB, free: 2.305 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.196e-05/0.3848, allocations: 8 kB / 1.323 GB, free: 2.297 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.3848, allocations: 11.44 kB / 1.323 GB, free: 2.285 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.3848, allocations: 0 / 1.323 GB, free: 2.285 MB / 1.014 GB Notification: Performance of Templates: time 0.005536/0.3904, allocations: 1.869 MB / 1.325 GB, free: 448 kB / 1.014 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: 9.02490632981062]