Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001307/0.001307, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001595/0.001595, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9763/0.9763, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 2.108/2.108, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0.875 kB / 0.8793 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.163e-05, allocations: 2.312 kB / 0.8793 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00247/0.002502, allocations: 1.593 MB / 0.8809 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007546/0.003256, allocations: 492.9 kB / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.003325, allocations: 7.938 kB / 0.8814 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.003356, allocations: 3.938 kB / 0.8814 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.574e-05/0.003412, allocations: 4.812 kB / 0.8814 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.003691, allocations: 40.89 kB / 0.8814 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.00381, allocations: 43.84 kB / 0.8815 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.00391, allocations: 19.92 kB / 0.8815 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.004057, allocations: 32.97 kB / 0.8815 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.269e-05/0.00409, allocations: 23.91 kB / 0.8815 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.004105, allocations: 5.125 kB / 0.8815 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.941e-05/0.004154, allocations: 7.984 kB / 0.8816 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.004169, allocations: 4 kB / 0.8816 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.004189, allocations: 17 kB / 0.8816 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.004293, allocations: 43.81 kB / 0.8816 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004296, allocations: 0 / 0.8816 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.01e-07/0.004296, allocations: 0.6562 kB / 0.8816 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.0043, allocations: 0 / 0.8816 GB, free: 3.746 MB / 0.8386 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.0003745/0.004674, allocations: 393 kB / 0.882 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.004708, allocations: 9.406 kB / 0.882 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.004814, allocations: 16.88 kB / 0.882 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.004941, allocations: 124.5 kB / 0.8821 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.004959, allocations: 1.094 kB / 0.8821 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.004967, allocations: 4.375 kB / 0.8821 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.005075, allocations: 71.53 kB / 0.8822 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.005082, allocations: 1.281 kB / 0.8822 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.005089, allocations: 384 / 0.8822 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.005096, allocations: 7.938 kB / 0.8822 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.263e-05/0.005119, allocations: 8.594 kB / 0.8822 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.005384, allocations: 268.9 kB / 0.8825 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.005505, allocations: 40.27 kB / 0.8825 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.005523, allocations: 11.75 kB / 0.8825 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.005536, allocations: 3.938 kB / 0.8825 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.005562, allocations: 52.75 kB / 0.8826 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.005563, allocations: 0 / 0.8826 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001252/0.005688, allocations: 41.69 kB / 0.8826 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.005717, allocations: 51.41 kB / 0.8827 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.005793, allocations: 169.9 kB / 0.8828 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.005806, allocations: 29.7 kB / 0.8829 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.005855, allocations: 134.8 kB / 0.883 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.005878, allocations: 15.94 kB / 0.883 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.005904, allocations: 19.38 kB / 0.883 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.006021, allocations: 497 kB / 0.8835 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.006042, allocations: 15.86 kB / 0.8835 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.006052, allocations: 0.5938 kB / 0.8835 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.001e-05/0.006082, allocations: 11.97 kB / 0.8835 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.006084, allocations: 5.375 kB / 0.8835 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.75e-05/0.006152, allocations: 53.56 kB / 0.8836 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.006164, allocations: 8 kB / 0.8836 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.006168, allocations: 1.312 kB / 0.8836 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.006176, allocations: 0 / 0.8836 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.259e-05/0.006219, allocations: 7.984 kB / 0.8836 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006221, allocations: 0 / 0.8836 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.006242, allocations: 11.94 kB / 0.8836 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.006246, allocations: 0 / 0.8836 GB, free: 1.516 MB / 0.8386 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 6.218e-05/0.006309, allocations: 160.6 kB / 0.8838 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.006328, allocations: 7.891 kB / 0.8838 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.006353, allocations: 11.98 kB / 0.8838 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.006354, allocations: 0 / 0.8838 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.006356, allocations: 0 / 0.8838 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.006358, allocations: 0 / 0.8838 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.006461, allocations: 113.2 kB / 0.8839 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006462, allocations: 0 / 0.8839 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.828e-05/0.00649, allocations: 12 kB / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006492, allocations: 0 / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.006498, allocations: 7.938 kB / 0.8839 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006499, allocations: 0 / 0.8839 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.006501, allocations: 3.984 kB / 0.8839 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.006612, allocations: 191.9 kB / 0.8841 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.006621, allocations: 7.953 kB / 0.8841 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.00663, allocations: 3.938 kB / 0.8841 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.508e-05/0.006665, allocations: 4 kB / 0.8841 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.00669, allocations: 3.984 kB / 0.8841 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.006693, allocations: 4 kB / 0.8841 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.9e-05/0.006732, allocations: 131.5 kB / 0.8842 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006732, allocations: 0 / 0.8842 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001392/0.006871, allocations: 4 kB / 0.8842 GB, free: 0.8047 MB / 0.8386 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 8.925e-05/0.00696, allocations: 103.2 kB / 0.8843 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.544e-05/0.007035, allocations: 15.69 kB / 0.8844 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.007037, allocations: 3.938 kB / 0.8844 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.899e-05/0.007056, allocations: 19.61 kB / 0.8844 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.007249, allocations: 5.828 kB / 0.8844 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.007878, allocations: 150.1 kB / 0.8845 GB, free: 476 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.007913, allocations: 59.34 kB / 0.8846 GB, free: 396 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.288e-05/0.007936, allocations: 4 kB / 0.8846 GB, free: 392 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.007983, allocations: 74.2 kB / 0.8847 GB, free: 316 kB / 0.8386 GB Notification: Performance of SimCode: time 9.32e-07/0.007984, allocations: 0 / 0.8847 GB, free: 316 kB / 0.8386 GB Notification: Performance of Templates: time 0.002042/0.01003, allocations: 0.5025 MB / 0.8852 GB, free: 15.81 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.474919012747705]