Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001463/0.001463, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001525/0.001525, allocations: 187.3 kB / 22.22 MB, free: 5.105 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.58/1.58, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.818/2.818, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 59.91 kB / 1.061 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 160.8 MB / 1.218 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002714/1.012, allocations: 0.6701 MB / 1.219 GB, free: 3.754 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002045/1.014, allocations: 1.194 MB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/1.014, allocations: 0 / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/1.014, allocations: 7.938 kB / 1.22 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.991e-05/1.015, allocations: 19.84 kB / 1.22 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008285/1.015, allocations: 212 kB / 1.221 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003264/1.016, allocations: 175.7 kB / 1.221 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/1.016, allocations: 4 kB / 1.221 GB, free: 2.137 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/1.016, allocations: 71.94 kB / 1.221 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/1.016, allocations: 71.72 kB / 1.221 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/1.016, allocations: 16 kB / 1.221 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/1.016, allocations: 39.92 kB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.988e-05/1.016, allocations: 4 kB / 1.221 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/1.017, allocations: 55.83 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/1.017, allocations: 154 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.017, allocations: 0 / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.944e-06/1.017, allocations: 0 / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.135e-06/1.017, allocations: 0 / 1.221 GB, free: 1.738 MB / 0.92 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.0008306/1.018, allocations: 438.6 kB / 1.222 GB, free: 1.246 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/1.018, allocations: 12.03 kB / 1.222 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.058e-05/1.018, allocations: 16.88 kB / 1.222 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/1.018, allocations: 164.3 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/1.018, allocations: 12.38 kB / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/1.018, allocations: 8.375 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/1.018, allocations: 50.17 kB / 1.222 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.018, allocations: 192 / 1.222 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/1.018, allocations: 3.938 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/1.018, allocations: 4 kB / 1.222 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.892e-05/1.018, allocations: 12 kB / 1.222 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/1.019, allocations: 360.8 kB / 1.222 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/1.019, allocations: 38.44 kB / 1.222 GB, free: 488 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/1.019, allocations: 12.86 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/1.019, allocations: 4 kB / 1.222 GB, free: 468 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/1.019, allocations: 79.45 kB / 1.222 GB, free: 376 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/1.019, allocations: 4 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003165/1.02, allocations: 101.6 kB / 1.222 GB, free: 264 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/1.02, allocations: 55.41 kB / 1.222 GB, free: 196 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/1.02, allocations: 117.8 kB / 1.223 GB, free: 68 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/1.02, allocations: 33.7 kB / 1.223 GB, free: 28 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/1.02, allocations: 100.1 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/1.02, allocations: 11.91 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/1.02, allocations: 49.69 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.02, allocations: 326.8 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/1.02, allocations: 59.97 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/1.021, allocations: 88.27 kB / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/1.021, allocations: 159.6 kB / 1.223 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.021, allocations: 4 kB / 1.223 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004697/1.021, allocations: 260.9 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/1.021, allocations: 67.39 kB / 1.224 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/1.021, allocations: 0 / 1.224 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/1.021, allocations: 7.938 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.573e-05/1.021, allocations: 4 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/1.021, allocations: 8.438 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/1.022, allocations: 59.77 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/1.022, allocations: 11.98 kB / 1.224 GB, free: 14.74 MB / 0.9356 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.0001346/1.022, allocations: 129.7 kB / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/1.022, allocations: 11.95 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/1.022, allocations: 12.36 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.022, allocations: 0 / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.022, allocations: 4 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.022, allocations: 480 / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/1.022, allocations: 177.5 kB / 1.224 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.022, allocations: 4 kB / 1.224 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-05/1.022, allocations: 3.984 kB / 1.224 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/1.022, allocations: 0 / 1.224 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/1.022, allocations: 3.938 kB / 1.224 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.022, allocations: 7.984 kB / 1.224 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.022, allocations: 3.984 kB / 1.224 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/1.022, allocations: 117 kB / 1.224 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/1.022, allocations: 81.11 kB / 1.224 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/1.023, allocations: 0 / 1.224 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.187e-05/1.023, allocations: 4.062 kB / 1.224 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/1.023, allocations: 7.984 kB / 1.224 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/1.023, allocations: 8 kB / 1.224 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.743e-05/1.023, allocations: 95.2 kB / 1.224 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.023, allocations: 4 kB / 1.224 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000251/1.023, allocations: 24 kB / 1.224 GB, free: 13.96 MB / 0.9356 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.000185/1.023, allocations: 107.2 kB / 1.224 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003841/1.023, allocations: 222.6 kB / 1.225 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.023, allocations: 0 / 1.225 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.576e-05/1.024, allocations: 16 kB / 1.225 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/1.024, allocations: 20.23 kB / 1.225 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/1.024, allocations: 158.7 kB / 1.225 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/1.025, allocations: 0.6885 MB / 1.226 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.093e-05/1.025, allocations: 4 kB / 1.226 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/1.025, allocations: 11.44 kB / 1.226 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/1.025, allocations: 0 / 1.226 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of Templates: time 0.005687/1.03, allocations: 1.871 MB / 1.227 GB, free: 10.81 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.515237858518958]