Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.002539/0.002539, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.003006/0.003006, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.547/1.547, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.913/2.913, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.893e-05, allocations: 7.812 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00286/0.002889, allocations: 1.568 MB / 0.7879 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.003882, allocations: 485.3 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.003942, allocations: 3.938 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.003971, allocations: 3.938 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-05/0.00404, allocations: 12.89 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.004299, allocations: 32.59 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.004426, allocations: 47.84 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.004521, allocations: 18.44 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.004693, allocations: 35.86 kB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.574e-05/0.004748, allocations: 23.89 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.004767, allocations: 4 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.021e-05/0.004808, allocations: 8 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.004821, allocations: 4 kB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.004853, allocations: 15.92 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.004983, allocations: 45.62 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.004986, allocations: 7.938 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004986, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.00499, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005709/0.00556, allocations: 392.6 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.005597, allocations: 8.562 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.00575, allocations: 14.06 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.006005, allocations: 132.5 kB / 0.7891 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.006025, allocations: 384 / 0.7891 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.006039, allocations: 10.12 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.006218, allocations: 58.23 kB / 0.7892 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.006227, allocations: 192 / 0.7892 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.006236, allocations: 384 / 0.7892 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.006243, allocations: 5.312 kB / 0.7892 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.006397, allocations: 39.91 kB / 0.7892 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.00687, allocations: 286.3 kB / 0.7895 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.007165, allocations: 62.98 kB / 0.7895 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.112e-05/0.007246, allocations: 23.73 kB / 0.7896 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.007264, allocations: 0 / 0.7896 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.007302, allocations: 41.33 kB / 0.7896 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.007303, allocations: 0 / 0.7896 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0003561/0.007659, allocations: 82.86 kB / 0.7897 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.007705, allocations: 55.39 kB / 0.7897 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.007849, allocations: 182.4 kB / 0.7899 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.007867, allocations: 27.36 kB / 0.7899 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.234e-05/0.00796, allocations: 142.8 kB / 0.7901 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.007979, allocations: 7.906 kB / 0.7901 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.008024, allocations: 23.36 kB / 0.7901 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002482/0.008272, allocations: 496.1 kB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.008348, allocations: 20.42 kB / 0.7906 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.371e-05/0.008412, allocations: 16.58 kB / 0.7906 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.008553, allocations: 32.45 kB / 0.7906 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.008555, allocations: 1.156 kB / 0.7906 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001856/0.008741, allocations: 65.62 kB / 0.7907 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.008753, allocations: 7.938 kB / 0.7907 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.008757, allocations: 1.375 kB / 0.7907 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.008769, allocations: 0 / 0.7907 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.063e-05/0.00884, allocations: 11.98 kB / 0.7907 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.008844, allocations: 0.9062 kB / 0.7907 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.00889, allocations: 11.94 kB / 0.7907 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.008897, allocations: 0.7812 kB / 0.7907 GB, free: 8.164 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001139/0.009011, allocations: 160.6 kB / 0.7909 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.009043, allocations: 13.12 kB / 0.7909 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.009078, allocations: 12 kB / 0.7909 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.009079, allocations: 0 / 0.7909 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.009082, allocations: 0.8438 kB / 0.7909 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.009084, allocations: 0 / 0.7909 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.009255, allocations: 128.6 kB / 0.791 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.009256, allocations: 1.312 kB / 0.791 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.74e-05/0.009323, allocations: 11.92 kB / 0.791 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.009329, allocations: 4 kB / 0.791 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.009336, allocations: 1.219 kB / 0.7911 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009338, allocations: 0 / 0.7911 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.009338, allocations: 0 / 0.7911 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.009629, allocations: 217.7 kB / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.009641, allocations: 3.938 kB / 0.7913 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.009657, allocations: 4 kB / 0.7913 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.009732, allocations: 7.984 kB / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.009762, allocations: 2.5 kB / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.009766, allocations: 4 kB / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.386e-05/0.00985, allocations: 135.2 kB / 0.7914 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.00985, allocations: 0 / 0.7914 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002171/0.01007, allocations: 11.89 kB / 0.7914 GB, free: 7.402 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 9.88e-05/0.01017, allocations: 95.25 kB / 0.7915 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.01038, allocations: 45.06 kB / 0.7916 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01038, allocations: 0 / 0.7916 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.008e-05/0.01047, allocations: 29.56 kB / 0.7916 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.0107, allocations: 16.39 kB / 0.7916 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.01106, allocations: 154.1 kB / 0.7917 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.573e-05/0.01114, allocations: 76.45 kB / 0.7918 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.915e-05/0.01117, allocations: 1.094 kB / 0.7918 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.01121, allocations: 12.5 kB / 0.7918 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of SimCode: time 3.9e-07/0.01121, allocations: 0.6562 kB / 0.7918 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of Templates: time 0.003023/0.01423, allocations: 464.1 kB / 0.7923 GB, free: 6.488 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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: 7.773983640014194]