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.001146/0.001146, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001271/0.001271, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8981/0.8981, allocations: 177.1 MB / 203.5 MB, free: 5.668 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.747/1.747, allocations: 377.9 MB / 0.6228 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.318e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001143/0.001166, allocations: 0.6523 MB / 0.9829 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.002298, allocations: 1.209 MB / 0.984 GB, free: 176 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.00234, allocations: 0 / 0.984 GB, free: 176 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.002369, allocations: 3.938 kB / 0.984 GB, free: 172 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.705e-05/0.002436, allocations: 11.94 kB / 0.984 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.002918, allocations: 217 kB / 0.9843 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.003083, allocations: 171.7 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.95e-05/0.003172, allocations: 7.984 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.981e-05/0.003272, allocations: 95.86 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.381e-05/0.003366, allocations: 47.91 kB / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.003391, allocations: 16 kB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.926e-05/0.003451, allocations: 27.98 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.00347, allocations: 15.94 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.003523, allocations: 47.95 kB / 0.9847 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.00371, allocations: 187.5 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.003712, allocations: 0 / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.22e-07/0.003713, allocations: 0 / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.003717, allocations: 3.938 kB / 0.9848 GB, free: 15.34 MB / 0.948 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.000385/0.004102, allocations: 361.5 kB / 0.9852 GB, free: 14.94 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.004136, allocations: 8.031 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.004182, allocations: 12.89 kB / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.317e-05/0.004255, allocations: 109.7 kB / 0.9853 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.004267, allocations: 8.375 kB / 0.9853 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.004289, allocations: 16.36 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.008e-05/0.004379, allocations: 46.23 kB / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.004385, allocations: 4.188 kB / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.004394, allocations: 384 / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.004398, allocations: 384 / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.506e-05/0.004433, allocations: 23.88 kB / 0.9854 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.00476, allocations: 268.5 kB / 0.9857 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.934e-05/0.004819, allocations: 34.56 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.00484, allocations: 12.86 kB / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.004848, allocations: 0 / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.004958, allocations: 91.33 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.004959, allocations: 0 / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0001908/0.00515, allocations: 105.6 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.005182, allocations: 55.41 kB / 0.986 GB, free: 14.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.508e-05/0.005247, allocations: 113.8 kB / 0.9861 GB, free: 13.94 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.005267, allocations: 29.7 kB / 0.9861 GB, free: 13.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.005317, allocations: 104 kB / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.00533, allocations: 19.84 kB / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.005388, allocations: 45.69 kB / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.255e-05/0.00546, allocations: 318.8 kB / 0.9866 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.005573, allocations: 119.4 kB / 0.9867 GB, free: 13.28 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.005693, allocations: 164 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.005817, allocations: 155.7 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.00582, allocations: 4 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003056/0.006126, allocations: 324.2 kB / 0.9873 GB, free: 12.56 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.006163, allocations: 67.39 kB / 0.9874 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.006168, allocations: 8.125 kB / 0.9874 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.006179, allocations: 0 / 0.9874 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.715e-05/0.006196, allocations: 7.938 kB / 0.9874 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.006202, allocations: 320 / 0.9874 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.006396, allocations: 59.83 kB / 0.9874 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.006416, allocations: 11.98 kB / 0.9874 GB, free: 12.39 MB / 0.948 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 6.998e-05/0.006486, allocations: 125.8 kB / 0.9876 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-06/0.006494, allocations: 7.891 kB / 0.9876 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.006515, allocations: 12.44 kB / 0.9876 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.006516, allocations: 0 / 0.9876 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.00652, allocations: 0 / 0.9876 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.006524, allocations: 3.984 kB / 0.9876 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.037e-05/0.006594, allocations: 121.4 kB / 0.9877 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.006596, allocations: 4 kB / 0.9877 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-06/0.006599, allocations: 0 / 0.9877 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.006601, allocations: 3.938 kB / 0.9877 GB, free: 12.08 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.006608, allocations: 4 kB / 0.9877 GB, free: 12.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.006611, allocations: 11.92 kB / 0.9877 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006611, allocations: 0 / 0.9877 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.909e-05/0.00671, allocations: 109.1 kB / 0.9878 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-06/0.006717, allocations: 4 kB / 0.9878 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.006729, allocations: 7.922 kB / 0.9878 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.006739, allocations: 0 / 0.9878 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.006772, allocations: 11.98 kB / 0.9878 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.006776, allocations: 0 / 0.9878 GB, free: 11.92 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.286e-05/0.006808, allocations: 91.22 kB / 0.9879 GB, free: 11.83 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006808, allocations: 7.938 kB / 0.9879 GB, free: 11.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001637/0.006972, allocations: 31.92 kB / 0.988 GB, free: 11.79 MB / 0.948 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 9.844e-05/0.007071, allocations: 111.7 kB / 0.9881 GB, free: 11.67 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.007308, allocations: 274.1 kB / 0.9883 GB, free: 11.37 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.007309, allocations: 4 kB / 0.9883 GB, free: 11.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.378e-05/0.007343, allocations: 23.97 kB / 0.9884 GB, free: 11.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.007499, allocations: 19.92 kB / 0.9884 GB, free: 11.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002511/0.00775, allocations: 187.5 kB / 0.9886 GB, free: 11.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.804e-05/0.007788, allocations: 67.59 kB / 0.9886 GB, free: 11.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.007805, allocations: 12.5 kB / 0.9886 GB, free: 11 MB / 0.948 GB Notification: Performance of SimCode: time 2.91e-07/0.007806, allocations: 0 / 0.9886 GB, free: 11 MB / 0.948 GB Notification: Performance of Templates: time 0.002007/0.009813, allocations: 1.409 MB / 0.99 GB, free: 9.605 MB / 0.948 GB " [Timeout remaining time 300] 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/jenkins/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: 6.852411829866469]