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.001573/0.001573, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001792/0.001792, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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 3.281/3.281, allocations: 0.5107 GB / 0.8166 GB, free: 17.77 MB / 0.6231 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.002147/0.002147, allocations: 71.38 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3241, allocations: 181.9 MB / 1.365 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002063/0.3261, allocations: 0.6476 MB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.3282, allocations: 1.202 MB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.3283, allocations: 0 / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.3283, allocations: 3.938 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.332e-05/0.3284, allocations: 19.84 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.3291, allocations: 209.2 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.3294, allocations: 175.7 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3295, allocations: 12 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.3296, allocations: 71.88 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.3298, allocations: 47.86 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.3298, allocations: 16 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.574e-05/0.3299, allocations: 27.98 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.3299, allocations: 11.92 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.84e-05/0.33, allocations: 55.91 kB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.3303, allocations: 159.5 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3303, allocations: 0 / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3303, allocations: 0 / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.3303, allocations: 0 / 1.367 GB, free: 10.86 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.0006227/0.3309, allocations: 357.5 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.331, allocations: 12.03 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/0.331, allocations: 12.89 kB / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.3312, allocations: 110.5 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.3312, allocations: 4.375 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.3312, allocations: 20.36 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.3313, allocations: 46.25 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3313, allocations: 192 / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3314, allocations: 3.938 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.3314, allocations: 4 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.426e-05/0.3314, allocations: 15.92 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.3319, allocations: 276.4 kB / 1.368 GB, free: 9.906 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.021e-05/0.332, allocations: 26.58 kB / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.332, allocations: 20.88 kB / 1.368 GB, free: 9.848 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.332, allocations: 4 kB / 1.368 GB, free: 9.844 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.3322, allocations: 87.3 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3322, allocations: 0 / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002577/0.3325, allocations: 105.6 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.3325, allocations: 51.41 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3326, allocations: 121.8 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.3327, allocations: 33.7 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.087e-05/0.3328, allocations: 97.16 kB / 1.369 GB, free: 9.309 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.3328, allocations: 11.89 kB / 1.369 GB, free: 9.297 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.3329, allocations: 49.69 kB / 1.369 GB, free: 9.242 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.333, allocations: 322.8 kB / 1.369 GB, free: 8.918 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.3332, allocations: 123.3 kB / 1.369 GB, free: 8.785 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.3334, allocations: 159.7 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.3336, allocations: 164 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3336, allocations: 0 / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004902/0.3341, allocations: 324.2 kB / 1.37 GB, free: 8.066 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.479e-05/0.3342, allocations: 67.39 kB / 1.37 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3342, allocations: 4.125 kB / 1.37 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3342, allocations: 4 kB / 1.37 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.41e-05/0.3342, allocations: 3.938 kB / 1.37 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3342, allocations: 4 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.3346, allocations: 51.94 kB / 1.37 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.3346, allocations: 11.98 kB / 1.37 GB, free: 7.91 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 0.0001212/0.3347, allocations: 125.7 kB / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.3347, allocations: 15.94 kB / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.755e-05/0.3348, allocations: 8.375 kB / 1.37 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3348, allocations: 4 kB / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3348, allocations: 0 / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3348, allocations: 3.984 kB / 1.37 GB, free: 7.738 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.3349, allocations: 117.2 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3349, allocations: 0 / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.556e-05/0.3349, allocations: 12.05 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3349, allocations: 3.938 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.3349, allocations: 0 / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3349, allocations: 4 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3349, allocations: 4 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.3351, allocations: 117 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-06/0.3351, allocations: 0 / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.3351, allocations: 4 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.3352, allocations: 0 / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.3352, allocations: 7.984 kB / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.3352, allocations: 4 kB / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.892e-05/0.3353, allocations: 95.2 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3353, allocations: 0 / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002425/0.3355, allocations: 31.95 kB / 1.37 GB, free: 7.297 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.0001521/0.3357, allocations: 111.2 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004029/0.3361, allocations: 278 kB / 1.371 GB, free: 6.871 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3361, allocations: 0 / 1.371 GB, free: 6.871 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.184e-05/0.3361, allocations: 23.98 kB / 1.371 GB, free: 6.848 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.3364, allocations: 21.95 kB / 1.371 GB, free: 6.828 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.3368, allocations: 188.7 kB / 1.371 GB, free: 6.609 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.999e-05/0.3368, allocations: 71.34 kB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.3369, allocations: 15.42 kB / 1.371 GB, free: 6.504 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.3369, allocations: 0 / 1.371 GB, free: 6.504 MB / 1.061 GB Notification: Performance of Templates: time 0.003415/0.3403, allocations: 1.386 MB / 1.372 GB, free: 5.137 MB / 1.061 GB " [Timeout remaining time 300] 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 -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: 11.233931004069746]