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.001438/0.001438, allocations: 84.98 kB / 19.76 MB, free: 2.023 MB / 14.72 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.002044/0.002044, allocations: 156.3 kB / 23.01 MB, free: 4.961 MB / 14.72 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.487/1.487, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] 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 2.897/2.897, allocations: 394.2 MB / 0.6386 GB, free: 11.97 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002478/0.002478, allocations: 67.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002316/1.025, allocations: 0.6498 MB / 1.187 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001531/1.026, allocations: 1.194 MB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/1.026, allocations: 0 / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/1.026, allocations: 4.594 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.695e-05/1.026, allocations: 19.67 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006273/1.027, allocations: 220.8 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/1.027, allocations: 173 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/1.027, allocations: 13.05 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/1.027, allocations: 75.97 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/1.028, allocations: 51.98 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/1.028, allocations: 14.84 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.435e-05/1.028, allocations: 35.62 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/1.028, allocations: 8.75 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.043e-05/1.028, allocations: 56.97 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/1.028, allocations: 149.8 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/1.028, allocations: 0 / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.733e-06/1.028, allocations: 0 / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.09e-06/1.028, allocations: 1.281 kB / 1.189 GB, free: 14.6 MB / 1.076 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.0004643/1.029, allocations: 354.1 kB / 1.19 GB, free: 14.26 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/1.029, allocations: 9.625 kB / 1.19 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/1.029, allocations: 12.41 kB / 1.19 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.882e-05/1.029, allocations: 114.9 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/1.029, allocations: 9.312 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/1.029, allocations: 14.11 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/1.029, allocations: 47.09 kB / 1.19 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/1.029, allocations: 192 / 1.19 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/1.029, allocations: 4.5 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/1.029, allocations: 5.078 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/1.029, allocations: 17.92 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/1.029, allocations: 269.7 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.425e-05/1.029, allocations: 34.31 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/1.029, allocations: 22.94 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/1.029, allocations: 5.156 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/1.03, allocations: 81.91 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/1.03, allocations: 1.062 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.000253/1.03, allocations: 103.8 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/1.03, allocations: 58.61 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.03e-05/1.03, allocations: 119.5 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/1.03, allocations: 34.09 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/1.03, allocations: 94.44 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/1.03, allocations: 11.45 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.396e-05/1.03, allocations: 50.22 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.153e-05/1.03, allocations: 322.7 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/1.03, allocations: 119.8 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/1.031, allocations: 155.1 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/1.031, allocations: 159.2 kB / 1.191 GB, free: 12.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.031, allocations: 0 / 1.191 GB, free: 12.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004164/1.031, allocations: 329.2 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/1.031, allocations: 68.34 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/1.031, allocations: 2.016 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.031, allocations: 1.094 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.108e-05/1.031, allocations: 7.219 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/1.031, allocations: 2.484 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/1.032, allocations: 59.72 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/1.032, allocations: 12.91 kB / 1.192 GB, free: 12.36 MB / 1.076 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 7.108e-05/1.032, allocations: 126.9 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/1.032, allocations: 7.234 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/1.032, allocations: 11.31 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.032, allocations: 1.219 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.032, allocations: 1 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.032, allocations: 0.6562 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.309e-05/1.032, allocations: 124.3 kB / 1.192 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.032, allocations: 4.641 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.316e-06/1.032, allocations: 2.188 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.032, allocations: 4.562 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/1.032, allocations: 5.906 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.032, allocations: 5.656 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.032, allocations: 3.984 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/1.032, allocations: 113.3 kB / 1.192 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/1.032, allocations: 2.812 kB / 1.192 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/1.032, allocations: 2.047 kB / 1.192 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.122e-05/1.032, allocations: 1.734 kB / 1.192 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/1.032, allocations: 9.5 kB / 1.192 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/1.032, allocations: 3.812 kB / 1.192 GB, free: 11.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.386e-05/1.032, allocations: 89.45 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/1.032, allocations: 4 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002397/1.032, allocations: 31.12 kB / 1.192 GB, free: 11.88 MB / 1.076 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.0001102/1.032, allocations: 110.6 kB / 1.192 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003284/1.033, allocations: 279.3 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.033, allocations: 0 / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.375e-05/1.033, allocations: 22.11 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/1.033, allocations: 23.61 kB / 1.193 GB, free: 11.54 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/1.033, allocations: 158 kB / 1.193 GB, free: 11.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.66e-05/1.033, allocations: 69.62 kB / 1.193 GB, free: 11.33 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.505e-05/1.033, allocations: 8.344 kB / 1.193 GB, free: 11.33 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/1.034, allocations: 12.92 kB / 1.193 GB, free: 11.32 MB / 1.076 GB Notification: Performance of SimCode: time 3.6e-07/1.034, allocations: 0 / 1.193 GB, free: 11.32 MB / 1.076 GB Notification: Performance of Templates: time 0.005456/1.039, allocations: 2.057 MB / 1.195 GB, free: 11.06 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.160479921032675]