Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001312/0.001312, allocations: 111.5 kB / 17.13 MB, free: 6.008 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.001443/0.001443, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.933/2.933, allocations: 0.49 GB / 0.7923 GB, free: 1.438 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.00198/0.00198, allocations: 67.89 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9651/0.9671, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002058/0.9691, allocations: 0.66 MB / 1.323 GB, free: 24.65 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.9707, allocations: 1.226 MB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.9707, allocations: 0 / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.9708, allocations: 3.938 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.773e-05/0.9709, allocations: 14.75 kB / 1.324 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007394/0.9716, allocations: 218.8 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.9718, allocations: 166.9 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.9719, allocations: 12.47 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.709e-05/0.972, allocations: 61.33 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.9722, allocations: 67.59 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.9722, allocations: 15.81 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.665e-05/0.9723, allocations: 26.45 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.9723, allocations: 17.48 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.316e-05/0.9724, allocations: 54 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.9726, allocations: 151 kB / 1.325 GB, free: 23.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.9726, allocations: 0 / 1.325 GB, free: 23.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9726, allocations: 4 kB / 1.325 GB, free: 23.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.9726, allocations: 0 / 1.325 GB, free: 23.43 MB / 1.061 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.0005078/0.9731, allocations: 438.7 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.9732, allocations: 14.98 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.9733, allocations: 9 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.811e-05/0.9733, allocations: 171 kB / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.9734, allocations: 7.438 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.9734, allocations: 14.25 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.9735, allocations: 50.27 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.9735, allocations: 192 / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.9736, allocations: 11.36 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.9736, allocations: 0 / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.148e-05/0.9736, allocations: 12.41 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.9741, allocations: 347.8 kB / 1.326 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.955e-05/0.9742, allocations: 45.84 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.9742, allocations: 11.58 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-06/0.9742, allocations: 6.625 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.9744, allocations: 80.88 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.9744, allocations: 0 / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002871/0.9747, allocations: 111.1 kB / 1.326 GB, free: 22.24 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.9747, allocations: 58.73 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.9748, allocations: 116.1 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.9748, allocations: 32.58 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.9749, allocations: 93.69 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.9749, allocations: 14.64 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.975, allocations: 49.86 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.9751, allocations: 320.8 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.9753, allocations: 59.53 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.9755, allocations: 91.38 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.9757, allocations: 162.2 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.9757, allocations: 0 / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005567/0.9762, allocations: 264.5 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.9763, allocations: 77.48 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.9763, allocations: 0 / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.9763, allocations: 6.781 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.292e-05/0.9763, allocations: 2.688 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.9763, allocations: 64 / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.9768, allocations: 61.2 kB / 1.327 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.9769, allocations: 11.8 kB / 1.327 GB, free: 21.13 MB / 1.061 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 9.409e-05/0.9769, allocations: 132.3 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.977, allocations: 2.594 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.977, allocations: 7.703 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.977, allocations: 2.5 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.977, allocations: 3.938 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.977, allocations: 0 / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.9771, allocations: 182.2 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.9771, allocations: 0 / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.9771, allocations: 2.812 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.9771, allocations: 4 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.9772, allocations: 2.844 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.9772, allocations: 0 / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.9772, allocations: 0 / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.9773, allocations: 117 kB / 1.328 GB, free: 20.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.9774, allocations: 82.94 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.9774, allocations: 4.812 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.078e-05/0.9774, allocations: 1.062 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.9775, allocations: 14.52 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.9775, allocations: 2.531 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.588e-05/0.9775, allocations: 93.84 kB / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9775, allocations: 0.9062 kB / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004276/0.9779, allocations: 26.53 kB / 1.328 GB, free: 20.5 MB / 1.061 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.0001839/0.9781, allocations: 117.7 kB / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.9786, allocations: 226.3 kB / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.9786, allocations: 0 / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.653e-05/0.9787, allocations: 22.06 kB / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.979, allocations: 18.84 kB / 1.328 GB, free: 20.22 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/0.9795, allocations: 191.6 kB / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.9796, allocations: 0.6858 MB / 1.329 GB, free: 19.35 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.9796, allocations: 15.78 kB / 1.329 GB, free: 19.34 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.9796, allocations: 0 / 1.329 GB, free: 19.34 MB / 1.061 GB Notification: Performance of Templates: time 0.004632/0.9843, allocations: 1.371 MB / 1.33 GB, free: 19.22 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.432999028998893]