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.001605/0.001605, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001526/0.001526, allocations: 173.3 kB / 23.49 MB, free: 1.062 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/1, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.167/2.167, allocations: 429.5 MB / 0.6736 GB, free: 4.078 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.162e-06/1.162e-06, allocations: 0 / 0.8781 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.557e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.727 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00186/0.001876, allocations: 1.586 MB / 0.8797 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006179/0.002494, allocations: 496.5 kB / 0.8802 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.002548, allocations: 5.062 kB / 0.8802 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.002577, allocations: 7.922 kB / 0.8802 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.493e-05/0.002622, allocations: 7.938 kB / 0.8802 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.002876, allocations: 36.88 kB / 0.8802 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.002981, allocations: 43.84 kB / 0.8803 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.359e-05/0.003074, allocations: 20.84 kB / 0.8803 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.003212, allocations: 39.83 kB / 0.8803 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.703e-05/0.003239, allocations: 12.48 kB / 0.8803 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.003253, allocations: 5.781 kB / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.655e-05/0.00329, allocations: 8 kB / 0.8803 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.003302, allocations: 11.92 kB / 0.8803 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.003324, allocations: 11.98 kB / 0.8804 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.003425, allocations: 39.84 kB / 0.8804 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003427, allocations: 1.188 kB / 0.8804 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.72e-07/0.003427, allocations: 0 / 0.8804 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.00343, allocations: 0 / 0.8804 GB, free: 4.418 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.0003758/0.003806, allocations: 393.5 kB / 0.8808 GB, free: 4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.003841, allocations: 16.02 kB / 0.8808 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.696e-05/0.003938, allocations: 13.55 kB / 0.8808 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.004074, allocations: 129.2 kB / 0.8809 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.004092, allocations: 384 / 0.8809 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.004101, allocations: 8.219 kB / 0.8809 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.004219, allocations: 62.94 kB / 0.881 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.004226, allocations: 192 / 0.881 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.004237, allocations: 4.375 kB / 0.881 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.004247, allocations: 7.938 kB / 0.881 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.56e-05/0.004282, allocations: 15.92 kB / 0.881 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.004557, allocations: 283.6 kB / 0.8813 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.004689, allocations: 46.98 kB / 0.8813 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.004713, allocations: 17.22 kB / 0.8814 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.004725, allocations: 0 / 0.8814 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.004748, allocations: 45.31 kB / 0.8814 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 5.71e-07/0.004748, allocations: 0 / 0.8814 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000142/0.00489, allocations: 46.69 kB / 0.8814 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.004917, allocations: 51.41 kB / 0.8815 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.004988, allocations: 169.9 kB / 0.8817 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.004997, allocations: 27.3 kB / 0.8817 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.005043, allocations: 146.8 kB / 0.8818 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.005058, allocations: 4.031 kB / 0.8818 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.005083, allocations: 19.38 kB / 0.8818 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.00519, allocations: 0.4911 MB / 0.8823 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.005207, allocations: 7.922 kB / 0.8823 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.183e-05/0.005219, allocations: 4 kB / 0.8823 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.118e-05/0.00525, allocations: 15.69 kB / 0.8823 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.005252, allocations: 0 / 0.8823 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.58e-05/0.005308, allocations: 53.58 kB / 0.8824 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.005318, allocations: 8 kB / 0.8824 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.005322, allocations: 1.75 kB / 0.8824 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.005334, allocations: 0 / 0.8824 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.838e-05/0.005373, allocations: 7.984 kB / 0.8824 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.005377, allocations: 4 kB / 0.8824 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.005397, allocations: 3.938 kB / 0.8824 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.005403, allocations: 4.625 kB / 0.8824 GB, free: 2.148 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 5.842e-05/0.005461, allocations: 158.2 kB / 0.8826 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.005478, allocations: 15.88 kB / 0.8826 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.005504, allocations: 8.328 kB / 0.8826 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.005506, allocations: 0 / 0.8826 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.005509, allocations: 0.7188 kB / 0.8826 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.005512, allocations: 3.984 kB / 0.8826 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.509e-05/0.005607, allocations: 133.4 kB / 0.8827 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.005608, allocations: 4 kB / 0.8827 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.005632, allocations: 15.92 kB / 0.8828 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.005633, allocations: 3.938 kB / 0.8828 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.005642, allocations: 0 / 0.8828 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005643, allocations: 0 / 0.8828 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.005645, allocations: 4 kB / 0.8828 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.164e-05/0.005736, allocations: 191.9 kB / 0.8829 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.005744, allocations: 7.891 kB / 0.8829 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.005753, allocations: 4 kB / 0.883 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.421e-05/0.005787, allocations: 3.984 kB / 0.883 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.005814, allocations: 4 kB / 0.883 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.005816, allocations: 0 / 0.883 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.005855, allocations: 143.5 kB / 0.8831 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005855, allocations: 0 / 0.8831 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001366/0.005992, allocations: 4 kB / 0.8831 GB, free: 1.395 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 6.245e-05/0.006054, allocations: 95.25 kB / 0.8832 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.564e-05/0.00613, allocations: 23.67 kB / 0.8832 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.006131, allocations: 0 / 0.8832 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/0.006151, allocations: 15.62 kB / 0.8832 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.006321, allocations: 11.98 kB / 0.8832 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.006713, allocations: 154.1 kB / 0.8834 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.006743, allocations: 55.36 kB / 0.8834 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.01e-05/0.006764, allocations: 4 kB / 0.8834 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.006789, allocations: 12.48 kB / 0.8835 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.00679, allocations: 0 / 0.8835 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of Templates: time 0.001841/0.008631, allocations: 460.5 kB / 0.8839 GB, free: 0.5273 MB / 0.8386 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.455080786952749]