Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001632/0.001632, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.001987/0.001987, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.465/1.465, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 3.012/3.012, allocations: 0.49 GB / 0.7923 GB, free: 1.285 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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [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.002162/0.002162, allocations: 71.91 kB / 1.15 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8778/0.88, allocations: 176.1 MB / 1.322 GB, free: 7.746 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001882/0.8819, allocations: 0.6572 MB / 1.323 GB, free: 7.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.8835, allocations: 1.224 MB / 1.324 GB, free: 6.266 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.8836, allocations: 1.531 kB / 1.324 GB, free: 6.266 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.8836, allocations: 3.938 kB / 1.324 GB, free: 6.262 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.484e-05/0.8837, allocations: 17.31 kB / 1.324 GB, free: 6.246 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.8843, allocations: 217.9 kB / 1.324 GB, free: 6.102 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.8846, allocations: 171.1 kB / 1.324 GB, free: 6.008 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.8846, allocations: 6.219 kB / 1.324 GB, free: 6.004 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.8847, allocations: 68.7 kB / 1.324 GB, free: 5.969 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.8849, allocations: 67.75 kB / 1.324 GB, free: 5.918 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.8849, allocations: 14.97 kB / 1.324 GB, free: 5.918 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.37e-05/0.885, allocations: 33.61 kB / 1.324 GB, free: 5.906 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.885, allocations: 15.31 kB / 1.324 GB, free: 5.895 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.101e-05/0.8851, allocations: 53.78 kB / 1.324 GB, free: 5.859 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.8853, allocations: 151.5 kB / 1.325 GB, free: 5.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8853, allocations: 0 / 1.325 GB, free: 5.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8853, allocations: 0 / 1.325 GB, free: 5.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.8854, allocations: 0 / 1.325 GB, free: 5.75 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.0005645/0.8859, allocations: 435.2 kB / 1.325 GB, free: 5.297 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.886, allocations: 14.02 kB / 1.325 GB, free: 5.293 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.886, allocations: 15.58 kB / 1.325 GB, free: 5.285 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.8862, allocations: 170.8 kB / 1.325 GB, free: 5.082 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.8862, allocations: 10.22 kB / 1.325 GB, free: 5.078 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.8862, allocations: 12.56 kB / 1.325 GB, free: 5.074 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.8863, allocations: 47.83 kB / 1.325 GB, free: 5.031 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.8863, allocations: 192 / 1.325 GB, free: 5.031 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.8864, allocations: 9.031 kB / 1.325 GB, free: 5.023 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.8864, allocations: 0 / 1.325 GB, free: 5.023 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.054e-05/0.8864, allocations: 15.47 kB / 1.325 GB, free: 5.016 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.8869, allocations: 350.9 kB / 1.326 GB, free: 4.656 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.497e-05/0.887, allocations: 47.86 kB / 1.326 GB, free: 4.609 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.887, allocations: 10.52 kB / 1.326 GB, free: 4.602 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.887, allocations: 0.7188 kB / 1.326 GB, free: 4.602 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.8872, allocations: 85.19 kB / 1.326 GB, free: 4.527 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.8872, allocations: 0 / 1.326 GB, free: 4.527 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0002496/0.8875, allocations: 107.1 kB / 1.326 GB, free: 4.461 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.8875, allocations: 57.75 kB / 1.326 GB, free: 4.395 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.8876, allocations: 114.7 kB / 1.326 GB, free: 4.285 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.8877, allocations: 29.45 kB / 1.326 GB, free: 4.254 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.295e-05/0.8877, allocations: 92.88 kB / 1.326 GB, free: 4.164 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.8878, allocations: 15.64 kB / 1.326 GB, free: 4.152 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.8879, allocations: 55.47 kB / 1.326 GB, free: 4.113 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.888, allocations: 324.8 kB / 1.327 GB, free: 3.789 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.8881, allocations: 58.56 kB / 1.327 GB, free: 3.762 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.8883, allocations: 91.83 kB / 1.327 GB, free: 3.691 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.8885, allocations: 167.3 kB / 1.327 GB, free: 3.539 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8885, allocations: 1.156 kB / 1.327 GB, free: 3.539 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004913/0.889, allocations: 265.2 kB / 1.327 GB, free: 3.363 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.134e-05/0.8891, allocations: 70.14 kB / 1.327 GB, free: 3.293 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.8891, allocations: 2.469 kB / 1.327 GB, free: 3.293 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.8891, allocations: 1.344 kB / 1.327 GB, free: 3.293 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.078e-05/0.8891, allocations: 2.5 kB / 1.327 GB, free: 3.293 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.8891, allocations: 1.469 kB / 1.327 GB, free: 3.293 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.8895, allocations: 59.61 kB / 1.327 GB, free: 3.266 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.8895, allocations: 13.89 kB / 1.327 GB, free: 3.262 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,or1.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.000123/0.8896, allocations: 130.3 kB / 1.327 GB, free: 3.133 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.8896, allocations: 2.188 kB / 1.327 GB, free: 3.133 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.8897, allocations: 9.953 kB / 1.327 GB, free: 3.121 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.8897, allocations: 5.344 kB / 1.327 GB, free: 3.117 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.8897, allocations: 0 / 1.327 GB, free: 3.117 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8897, allocations: 0 / 1.327 GB, free: 3.117 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.8898, allocations: 186.1 kB / 1.328 GB, free: 2.898 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8898, allocations: 0 / 1.328 GB, free: 2.898 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.108e-05/0.8898, allocations: 9.328 kB / 1.328 GB, free: 2.891 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.8898, allocations: 0 / 1.328 GB, free: 2.891 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.8899, allocations: 1.406 kB / 1.328 GB, free: 2.891 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.8899, allocations: 1.094 kB / 1.328 GB, free: 2.891 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8899, allocations: 7.922 kB / 1.328 GB, free: 2.883 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.89, allocations: 115.7 kB / 1.328 GB, free: 2.785 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.8901, allocations: 83.38 kB / 1.328 GB, free: 2.688 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.8901, allocations: 5 kB / 1.328 GB, free: 2.684 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.971e-05/0.8901, allocations: 1.156 kB / 1.328 GB, free: 2.684 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.8901, allocations: 10.11 kB / 1.328 GB, free: 2.676 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.8902, allocations: 3.156 kB / 1.328 GB, free: 2.676 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.986e-05/0.8902, allocations: 90.67 kB / 1.328 GB, free: 2.594 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8902, allocations: 1.344 kB / 1.328 GB, free: 2.594 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002324/0.8904, allocations: 29.91 kB / 1.328 GB, free: 2.59 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,or1.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.0001601/0.8906, allocations: 115.4 kB / 1.328 GB, free: 2.488 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003447/0.891, allocations: 215.4 kB / 1.328 GB, free: 2.312 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.891, allocations: 0 / 1.328 GB, free: 2.312 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.121e-05/0.891, allocations: 23.61 kB / 1.328 GB, free: 2.305 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.8912, allocations: 19.7 kB / 1.328 GB, free: 2.293 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.8916, allocations: 185.6 kB / 1.328 GB, free: 2.113 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.8919, allocations: 0.6874 MB / 1.329 GB, free: 1.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.8919, allocations: 11.41 kB / 1.329 GB, free: 1.402 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.8919, allocations: 0 / 1.329 GB, free: 1.402 MB / 1.014 GB Notification: Performance of Templates: time 0.003275/0.8952, allocations: 1.375 MB / 1.33 GB, free: 0.6992 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.328365419001784]