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.001714/0.001714, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001885/0.001885, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.511/1.511, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.789/2.789, allocations: 443.4 MB / 0.7304 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001947/0.001947, allocations: 71.89 kB / 1.059 GB, free: 388 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3847, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002217/0.3869, allocations: 0.6545 MB / 1.217 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.3889, allocations: 1.202 MB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.3889, allocations: 0 / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.389, allocations: 7.938 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.981e-05/0.389, allocations: 11.88 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000742/0.3898, allocations: 215.3 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.3901, allocations: 171.8 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3902, allocations: 4 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3903, allocations: 67.89 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.3904, allocations: 67.83 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.3905, allocations: 19.94 kB / 1.219 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.591e-05/0.3905, allocations: 35.86 kB / 1.219 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.3906, allocations: 8 kB / 1.219 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.897e-05/0.3907, allocations: 59.81 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.3909, allocations: 151.6 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3909, allocations: 0 / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3909, allocations: 0 / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3909, allocations: 0 / 1.219 GB, free: 12.67 MB / 0.9669 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.0006861/0.3916, allocations: 438.6 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3916, allocations: 16.03 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.3917, allocations: 8.891 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.3918, allocations: 164.4 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3919, allocations: 4.375 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.3919, allocations: 16.38 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.392, allocations: 50.88 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3921, allocations: 4.172 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3921, allocations: 3.938 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3921, allocations: 3.938 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.374e-05/0.3921, allocations: 15.98 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.3927, allocations: 356.8 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.748e-05/0.3928, allocations: 34.45 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.3928, allocations: 16.94 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.3928, allocations: 0 / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.393, allocations: 87.38 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.393, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003097/0.3933, allocations: 105.5 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.3934, allocations: 55.41 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.3935, allocations: 121.8 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.3935, allocations: 33.7 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.3936, allocations: 88.47 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.3936, allocations: 15.91 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3938, allocations: 45.69 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.394, allocations: 330.8 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.3941, allocations: 59.91 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.3943, allocations: 92.25 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.3945, allocations: 155.6 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3945, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004575/0.395, allocations: 264.9 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/0.3951, allocations: 71.39 kB / 1.221 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3951, allocations: 0 / 1.221 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3951, allocations: 7.938 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.957e-05/0.3951, allocations: 0 / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3951, allocations: 12.11 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.3954, allocations: 51.89 kB / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.3955, allocations: 12 kB / 1.221 GB, free: 9.676 MB / 0.9669 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.0001216/0.3956, allocations: 127.5 kB / 1.221 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.3956, allocations: 7.953 kB / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.3956, allocations: 12.38 kB / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3956, allocations: 0 / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3956, allocations: 0 / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3957, allocations: 0 / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.3958, allocations: 185.5 kB / 1.222 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3958, allocations: 3.938 kB / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.044e-05/0.3958, allocations: 4 kB / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3958, allocations: 0 / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3958, allocations: 0 / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3958, allocations: 0 / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3958, allocations: 0 / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.396, allocations: 117.1 kB / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.3961, allocations: 85.05 kB / 1.222 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.3961, allocations: 4 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.939e-05/0.3961, allocations: 3.984 kB / 1.222 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.3961, allocations: 4 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.3961, allocations: 4 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.855e-05/0.3962, allocations: 91.2 kB / 1.222 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3962, allocations: 8 kB / 1.222 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002528/0.3965, allocations: 28 kB / 1.222 GB, free: 8.906 MB / 0.9669 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.0002003/0.3967, allocations: 107.2 kB / 1.222 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003665/0.397, allocations: 222.7 kB / 1.222 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.397, allocations: 0 / 1.222 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.909e-05/0.3971, allocations: 20.39 kB / 1.222 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.3973, allocations: 24.5 kB / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.3977, allocations: 174.5 kB / 1.223 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.3981, allocations: 0.6885 MB / 1.223 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.48e-05/0.3981, allocations: 4 kB / 1.223 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.3981, allocations: 7.438 kB / 1.223 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.3981, allocations: 0 / 1.223 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of Templates: time 0.004899/0.403, allocations: 1.855 MB / 1.225 GB, free: 5.746 MB / 0.9669 GB " [Timeout remaining time 300] 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: 8.666957199573517]