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.001288/0.001288, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001456/0.001456, allocations: 169 kB / 23.02 MB, free: 1.551 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.9261/0.9261, allocations: 177.1 MB / 203.4 MB, free: 5.527 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.02/2.02, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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.343e-06/1.343e-06, allocations: 0 / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.854e-05, allocations: 7.219 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001832/0.001851, allocations: 1.591 MB / 0.8797 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006419/0.002493, allocations: 495.8 kB / 0.8802 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.002547, allocations: 0 / 0.8802 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.002581, allocations: 7.922 kB / 0.8802 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.048e-05/0.002631, allocations: 13.64 kB / 0.8802 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.002886, allocations: 31.84 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.002992, allocations: 51.78 kB / 0.8803 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.003084, allocations: 15.98 kB / 0.8803 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.003223, allocations: 32.97 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.896e-05/0.003252, allocations: 19.91 kB / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.003267, allocations: 5.125 kB / 0.8803 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.628e-05/0.003303, allocations: 8 kB / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.003315, allocations: 4 kB / 0.8803 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.003338, allocations: 20.92 kB / 0.8804 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.003696, allocations: 39.83 kB / 0.8804 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003698, allocations: 0 / 0.8804 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003698, allocations: 1.094 kB / 0.8804 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.003702, allocations: 0 / 0.8804 GB, free: 4.051 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.0003752/0.004077, allocations: 389.4 kB / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.004112, allocations: 8.031 kB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.804e-05/0.00421, allocations: 21.59 kB / 0.8808 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.004337, allocations: 124.5 kB / 0.8809 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.004355, allocations: 6.031 kB / 0.8809 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.004364, allocations: 8.375 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.004481, allocations: 70.86 kB / 0.881 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.004488, allocations: 192 / 0.881 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.004497, allocations: 0.875 kB / 0.881 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.004504, allocations: 5.812 kB / 0.881 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.419e-05/0.004539, allocations: 15.98 kB / 0.881 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.004815, allocations: 279.7 kB / 0.8813 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.004957, allocations: 60.25 kB / 0.8813 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.00498, allocations: 11.75 kB / 0.8813 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.00499, allocations: 0 / 0.8813 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.00501, allocations: 33.39 kB / 0.8814 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.005011, allocations: 5.188 kB / 0.8814 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001374/0.005148, allocations: 53.61 kB / 0.8814 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.005175, allocations: 51.41 kB / 0.8815 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.664e-05/0.005241, allocations: 175.5 kB / 0.8817 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.00525, allocations: 25.7 kB / 0.8817 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.005292, allocations: 138.8 kB / 0.8818 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.005309, allocations: 7.938 kB / 0.8818 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.005335, allocations: 29.78 kB / 0.8818 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.00543, allocations: 492.1 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.005447, allocations: 7.984 kB / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/0.00546, allocations: 8 kB / 0.8823 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.005488, allocations: 11.69 kB / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.005489, allocations: 0 / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.837e-05/0.005548, allocations: 57.52 kB / 0.8824 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.005558, allocations: 10.06 kB / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.005562, allocations: 0 / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.005572, allocations: 0 / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.894e-05/0.005611, allocations: 11.98 kB / 0.8824 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.005615, allocations: 0 / 0.8824 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.005634, allocations: 8 kB / 0.8824 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.005639, allocations: 0 / 0.8824 GB, free: 1.773 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.81e-05/0.005698, allocations: 160.6 kB / 0.8826 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.005712, allocations: 7.891 kB / 0.8826 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.005739, allocations: 11.98 kB / 0.8826 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005741, allocations: 0 / 0.8826 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.005743, allocations: 0 / 0.8826 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.005745, allocations: 0 / 0.8826 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.582e-05/0.005841, allocations: 132.6 kB / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005842, allocations: 0 / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.005868, allocations: 19.92 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005869, allocations: 3.938 kB / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.005875, allocations: 0 / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005876, allocations: 0 / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005877, allocations: 0 / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.223e-05/0.005969, allocations: 191.9 kB / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-06/0.005976, allocations: 8.266 kB / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.005984, allocations: 0 / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.391e-05/0.006018, allocations: 7.984 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.006045, allocations: 4 kB / 0.8829 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.006048, allocations: 4 kB / 0.883 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.413e-05/0.006082, allocations: 131.5 kB / 0.8831 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006082, allocations: 0 / 0.8831 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001385/0.006221, allocations: 12 kB / 0.8831 GB, free: 1.027 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 5.702e-05/0.006278, allocations: 103.1 kB / 0.8832 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.458e-05/0.006352, allocations: 23.67 kB / 0.8832 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.006353, allocations: 0 / 0.8832 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.81e-05/0.006371, allocations: 11.69 kB / 0.8832 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.006538, allocations: 13.3 kB / 0.8832 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.00692, allocations: 150.1 kB / 0.8834 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.234e-05/0.006953, allocations: 59.34 kB / 0.8834 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.948e-05/0.006972, allocations: 4 kB / 0.8834 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.006998, allocations: 8.5 kB / 0.8834 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/0.006998, allocations: 0 / 0.8834 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of Templates: time 0.001935/0.008934, allocations: 491 kB / 0.8839 GB, free: 120 kB / 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.025261144153774]